Running an empty test shows help screen #5192
Labels
feature/test-runner
CLI test runner
type/bug
Something is broken
version/10
Something affects PHPUnit 10
Summary
After upgrading from
phpunit/phpunit:9.6.3
tophpunit/phpunit:10.0.7
runningphpunit
with aphpunit.xml
that points to a directory that does not contain any tests succeeds, but shows the help screen.Current behavior
Running
phpunit
with aphpunit.xml
that points to a directory that does not contain any tests succeeds, but shows the help screen.How to reproduce
See ergebnis/symfony-application-template#1544, and give me a few moments to open a pull request.
Expected behavior
Running
phpunit
with aphpunit.xml
that points to a directory that does not contain any tests succeeds with warnings.The text was updated successfully, but these errors were encountered: