Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Options cannot be combined" false positive for --testsuite and --list-tests since 9.5.26 #5109

Closed
janedbal opened this issue Dec 6, 2022 · 0 comments
Labels
type/bug Something is broken

Comments

@janedbal
Copy link
Contributor

janedbal commented Dec 6, 2022

Q A
PHPUnit version 9.5.26
PHP version 8.1.12
Installation Method Composer

Summary

Using command vendor/bin/phpunit --testsuite=mySuite1 --list-tests emits false-positive warning

The --testsuite and --list-tests options cannot be combined, --testsuite is ignored

But it works just fine (it lists tests from selected testsuite), removing testsuite argument outputs all tests. Related change.

Current behavior

Emitted warning

How to reproduce

As above.

Expected behavior

No warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants