diff options
author | Arne Hamann <git@arne.email> | 2022-04-21 15:30:44 +0300 |
---|---|---|
committer | Arne Hamann <git@arne.email> | 2022-04-21 15:30:44 +0300 |
commit | 1d3d3f316a42bf4742500e6443d2774381feffa8 (patch) | |
tree | fd745392eac48b58437c8d27619533748226bf83 /composer.json | |
parent | 695668d6731fb68ac47300c73a3a67a43854970b (diff) |
phpUnit tests workflow
Signed-off-by: Arne Hamann <git@arne.email>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/composer.json b/composer.json index ef023469..a37bbae5 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,12 @@ "bogdaan/open-location-code": "dev-master" }, "require-dev": { - "christophwurst/nextcloud_testing": "^0.9.1" - } + "christophwurst/nextcloud_testing": "^0.12.4" + }, + "scripts": { + "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" + } } |