Open joachim-n opened 4 years ago
I'm looking for a way to run tests in parallel, invoking --filter to run phpunit with just a single test, and currently there is no easy way to get a list of tests in a test suite that could be passed back to --filter.
@perk11 you may be interested in https://github.com/sebastianbergmann/phpunit/pull/4449
--list-tests-xml
If I use --list-tests, I get a list of all the data sets from the data provider:
However, these are not in a format that (AFAIK) can be used with the --filter option. That needs an @ before the quote marks (and the quote marks are only needed if there are spaces in the data set name):
Proposed improvement: print the '@' between the method name and the dataset name in the output, so it's easier to copy-paste it to run a test.