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

crashing on --exclude-group #223

Open
keradus opened this issue Dec 21, 2023 · 1 comment
Open

crashing on --exclude-group #223

keradus opened this issue Dec 21, 2023 · 1 comment

Comments

@keradus
Copy link

keradus commented Dec 21, 2023

Hey, issue I noticed while working on PHP-CS-Fixer/PHP-CS-Fixer#7606 .

With switch to PHPUnit v10,
running PHPUnit works:

./vendor/bin/phpunit --testsuite unit --exclude-group covers-nothing
PHPUnit 10.5.3 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.3.0
Configuration: /Users/d.ruminski/github/PHP-CS-Fixer/phpunit.xml.dist

.......................S..............................

While running paraunit crashes:

ker@d ~/github/PHP-CS-Fixer λ ./vendor/bin/paraunit --version
Paraunit 2.2.3

ker@d ~/github/PHP-CS-Fixer λ ./vendor/bin/paraunit run --testsuite unit --exclude-group covers-nothing

                                                
  The "--exclude-group" option does not exist.  
                                                

run [-c|--configuration CONFIGURATION] [--parallel PARALLEL] [--chunk-size CHUNK-SIZE] [--debug] [--logo] [--pass-through PASS-THROUGH] [--testsuite TESTSUITE] [--sort SORT] [--] [<stringFilter>]

Would appreciate support ;)

@keradus
Copy link
Author

keradus commented Dec 24, 2023

looks like with v2, we need to wrap it like --pass-through=--exclude-group=covers-nothing.
original --exclude-group doesn't work anymore.

a bit sad, i liked to be able to call 2 tools same way, now I need to have params passed differently, depending which tool I call :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant