Values from data provider are not shown for failed test #5616
Labels
feature/data-provider
Data Providers
feature/test-runner
CLI test runner
type/bug
Something is broken
version/10
Something affects PHPUnit 10
Summary
PHPUnit 10.x does currently shows only the data set # /wo dumping the data set values in the test header/output.
Currently, the developer has to go to the test code to even get a rough idea what the failed test is really about.
With a complex providers, it is even hard to tell by looking into the code what values were passed by a given data set # - example: https://github.com/atk4/ui/blob/5.0.0/tests/DemosTest.php#L305 - it is basically impossible.
I am reporting this as a bug, as PHPUnit 9.x output has/had the data set values dumped.
Current behavior
How to reproduce
Any test with data provider.
Expected behavior
expected/PHPUnit 9.x output:
The text was updated successfully, but these errors were encountered: