Skip to content
Snippets Groups Projects
Unverified Commit af8ddfbc authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #3913 from nextcloud/enhancement/phpunit-sort-by-defect

Sort phpunit tests by defect
parents 65127f75 e8338579
No related branches found
No related tags found
No related merge requests found
......@@ -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": {
......
......@@ -25,6 +25,7 @@
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900"
cacheResult="true"
>
<testsuite name='Mail app tests'>
<directory suffix='test.php'>Integration</directory>
......
......@@ -4,6 +4,7 @@
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900"
cacheResult="true"
>
<testsuite name='Mail app tests'>
<directory suffix='test.php'>Unit</directory>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment