-
Notifications
You must be signed in to change notification settings - Fork 15
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
--chunk-size won't work with --testsuite option in version 1.3.0 #274
Comments
In normal execution the paraunit/src/Process/ProcessFactory.php Lines 52 to 65 in 032bb2d
I do not understand how this is happening.. |
PassThrough was added at least one year later after chunking ... |
@ilario-pierbattista I'm sorry but I'm unable to reproduce the issue, I've tried with #276, both under 1.x and 2.x, and the |
@Jean85 I've just updated #276 to reproduce it. The problem seems to be Probabily it don't affect 2.x. Given that testsuite is the way tests are chunked in PHPUnit config files, maybe we could explicitly exclude the testsuite option in the ProcessFactory. Edit: fix (almost) ready in #277 |
# Conflicts: # composer.lock
@Jean85 thank you for releasing 1.3.1, it runs as expected 😄 |
If I try to execute
paraunit run --testsuite=functional --chunk-size=5
then paraunit exits with no test executed.
With the
--debug
flag it printsWith the content of /app/phpunit.xml_0.dist being
The command used for the subprocess takes the
--testsuite=functional
option the paraunit command.Hence, each process won't execute any test.
I would expect the
--testsuite
option to be used before the chunks are created, and then it won't be an option of the sub process command.What do you think?
The text was updated successfully, but these errors were encountered: