Context
I would like to use slow-test-detector in a CI, like GitHub Actions.
In my phpunit.xml file, I have different testsuites (unit, integration...).
Each testsuite should have a different configuration.
We can not use the <extension> parameters to do it.
Expected Result
- Could it be possible to run it in CLI with args, like?
php vendor/bin/phpunit --configuration phpunit.xml --testsuite=unit --slow-test-detector-maximum-duration=20
- Can the result fails when at least 1 test does not respect the condition ?
Context
I would like to use slow-test-detector in a CI, like GitHub Actions.
In my
phpunit.xmlfile, I have different testsuites (unit, integration...).Each testsuite should have a different configuration.
We can not use the
<extension>parameters to do it.Expected Result