- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.2k
Closed
Labels
feature/test-runnerCLI test runnerCLI test runnertype/bugSomething is brokenSomething is brokenversion/9Something affects PHPUnit 9Something affects PHPUnit 9
Description
| Q | A | 
|---|---|
| PHPUnit version | 9.5.25 | 
| PHP version | 7.4.24 | 
| Installation Method | Composer | 
Summary
when running phpunit without defining a source directory at the end of your command it does not display phpunit's (deprecation) warnings
Current behavior
this does not display phpunit's (deprecation) warnings
vendor/bin/phpunit --testsuite=Foowhile this does (e.g. Warning:       Test case class not matching filename is deprecated)
vendor/bin/phpunit --testsuite=Foo tests/How to reproduce
minimal, self-contained test case to reproduce can be found over here
Expected behavior
i'm not quite sure what is to be expected (i.e. is this expected behaviour or a bug). personally i'd expect the (deprecation) warnings to be shown regardless or perhaps have a flag to have them displayed
Metadata
Metadata
Assignees
Labels
feature/test-runnerCLI test runnerCLI test runnertype/bugSomething is brokenSomething is brokenversion/9Something affects PHPUnit 9Something affects PHPUnit 9