diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-30 16:17:50 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-30 16:20:07 +0300 |
commit | e83385791d47121c9b9d05717b153635fb595a21 (patch) | |
tree | db285376c2056a0ffd2be5c9558913f27812667c /composer.json | |
parent | 65127f75a11e6d47c4f4e23d46a29d3201845ebf (diff) |
Sort phpunit tests by defect
Then the failing ones will show right away when re-running the tests
locally.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer.json b/composer.json index 5ae9dc7be..347ffcd77 100644 --- a/composer.json +++ b/composer.json @@ -65,10 +65,10 @@ "\"vendor/bin/mozart\" compose", "composer dump-autoload" ], - "test:integration": "phpunit -c tests/phpunit.integration.xml tests/Integration --fail-on-warning", - "test:integration:dev": "phpunit -c tests/phpunit.integration.xml tests/Integration --no-coverage --fail-on-warning --stop-on-error --stop-on-failure", - "test:unit": "phpunit -c tests/phpunit.unit.xml tests/Unit --fail-on-warning", - "test:unit:dev": "phpunit -c tests/phpunit.unit.xml tests/Unit --no-coverage --fail-on-warning --stop-on-error --stop-on-failure" + "test:integration": "phpunit -c tests/phpunit.integration.xml --fail-on-warning", + "test:integration:dev": "phpunit -c tests/phpunit.integration.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure", + "test:unit": "phpunit -c tests/phpunit.unit.xml --fail-on-warning", + "test:unit:dev": "phpunit -c tests/phpunit.unit.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure" }, "extra": { "mozart": { |