-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
No warning when CLI options are used multiple times #5704
Copy link
Copy link
Closed
Labels
feature/configuration/clifeature/test-runnerCLI test runnerCLI test runnertype/bugSomething is brokenSomething is brokenversion/10Something affects PHPUnit 10Something affects PHPUnit 10version/11Something affects PHPUnit 11Something affects PHPUnit 11
Description
Activity
Metadata
Metadata
Assignees
Labels
feature/configuration/clifeature/test-runnerCLI test runnerCLI test runnertype/bugSomething is brokenSomething is brokenversion/10Something affects PHPUnit 10Something affects PHPUnit 10version/11Something affects PHPUnit 11Something affects PHPUnit 11
Hi, right now it seems from my testing that passing
--filtermultiple times rewrites the previous occurrence so the first--filteroption is silently discarded.I'd like to use
--filterto be interpreted in a way - "I want to run tests that pass this filter and also tests that pass this other filter". So in this case PHPUnit should run the two tests I specified.Even if you don't want to interpret multiple
--filteroptions that way, I think something could be done about the silent discarding.Thank you.