New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce the number of lines in Testdox output when using a data provider #3900
Comments
Hey @markwatney2016, we had a similar issue and we found out there is a Maybe this could be of interest to you, too. Kind regards |
Dear @markwatney2016 and @flow-control, Thank you so much for this detailed feature request! I did the Testdox colorization and this sounds like the perfect little project for the darker months. 🎃 @markwatney2016 Your proposal is:
Correct? |
@epdenouden Thank you for your fast reply. Yes, this is what I came up with. :) |
@flow-control Thank you for your tipp. Unfortunatelly it is not the wording but the really big number of printed lines that make the testdox output overwhelming and unusable for our product owner. |
Basic use caseWhen to show
Tasks
|
Current situation/problem:
We use dataproviders with a big number of data sets in our unit tests. For each data set PHPUnit prints a line in the testdox output. In our case this is overwhelming and makes the testdox output very hard to read and therefore useless for the product owner.
It is the very high number of output lines (not the wording) that make the Testdox output unclear. At the moment it may not be usable for product owners if you use dataproviders with a big number of data sets.
Feature request:
Would be great, if there was a possibility to let PHPUnit print only one line per test (regardless of the number of data sets the dataprovider returns) in the testdox output.
Possible solutions:
Example
This is a snippet of our current Testdox output:
This could be a more condensed output e.g. if no data set would let a test fail:
The text was updated successfully, but these errors were encountered: