-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
feature/configuration/clifeature/test-runnerCLI test runnerCLI test runnerversion/11Something affects PHPUnit 11Something affects PHPUnit 11version/12Something affects PHPUnit 12Something affects PHPUnit 12
Description
Q | A |
---|---|
PHPUnit version | 11.5.34 |
PHP version | 8.3.6 |
Installation Method | Composer v2 |
Summary
Need to clarify behaviour in https://docs.phpunit.de/en/11.5/textui.html#versions-and-configuration context
Current behavior
When other flags are specified before the --no-output
, results are printed, while if there are only --no-output
flag, nothing is printed on standard output
For example :

How to reproduce
- Any source code with unit tests seems to be enough.
- Try to print results in testdox format like :
vendor/bin/phpunit --no-extensions --testdox --no-output
- And compare to standard
vendor/bin/phpunit --no-extensions --no-output
(nothing printed)
Metadata
Metadata
Assignees
Labels
feature/configuration/clifeature/test-runnerCLI test runnerCLI test runnerversion/11Something affects PHPUnit 11Something affects PHPUnit 11version/12Something affects PHPUnit 12Something affects PHPUnit 12