facile-it / paraunit

Run PHPUnit tests in parallel
https://engineering.facile.it/paraunit/
Apache License 2.0
140 stars 15 forks source link

Add arguments to run test or directory like PHPUnit does #81

Closed dxops closed 7 years ago

dxops commented 7 years ago

Trying to fix some failing tests using paraunit run, wondering that arguments are not available for run command like PHPUnit. So now I have to change test suite to work with few tests only

Usage: phpunit [options] UnitTest [UnitTest.php]
             phpunit [options] <directory>
Jean85 commented 7 years ago

This may need some additional work. Right now, I use PHPUnit class to select the tests from the test suites. So, will you expect to have this arguments as an additional filter? In this way it will be ideal, since it will also work in combination with all the other options.

Il ven 30 dic 2016, 20:45 Sergey Zhuravel notifications@github.com ha scritto:

Trying to fix some failing tests using paraunit run, wondering that arguments are not available for run command like PHPUnit. So now I have to change test suite to work with few tests only time to time

Usage: phpunit [options] UnitTest [UnitTest.php] phpunit [options]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facile-it/paraunit/issues/81, or mute the thread https://github.com/notifications/unsubscribe-auth/AGaxBB7tCVbj-BQxbnJWXmipzuxsdSj4ks5rNV91gaJpZM4LYW8C .

dxops commented 7 years ago

Despite --testsuite option PHPUnit will run all tests from test case or folder

Jean85 commented 7 years ago

Hey, that's done, merged and released with 0.7.4!