1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

fix: test flow

This commit is contained in:
Torsten Dittmann 2021-04-26 11:34:15 +02:00
parent be9b49d696
commit 061f3895be
2 changed files with 15 additions and 7 deletions

View file

@ -37,8 +37,10 @@ script:
- docker-compose logs appwrite-worker-functions
- docker-compose exec appwrite doctor
- docker-compose exec appwrite vars
- docker-compose exec appwrite test --debug
- docker-compose logs appwrite
- docker-compose exec appwrite test --debug --testsuite unit
- docker-compose exec appwrite test --debug --testsuite webhooks
- docker-compose exec appwrite test --debug --testsuite functions
- docker-compose exec appwrite test --debug --testsuite e2e
deploy:
- provider: script

View file

@ -12,12 +12,21 @@
<extension class="Appwrite\Tests\TestHook" />
</extensions>
<testsuites>
<testsuite name="Application Test Suite">
<testsuite name="unit">
<directory>./tests/unit/</directory>
</testsuite>
<testsuite name="webhooks">
<directory>./tests/e2e/Services/Webhooks</directory>
</testsuite>
<testsuite name="functions">
<file>./tests/e2e/Services/Functions/FunctionsBase.php</file>
<file>./tests/e2e/Services/Functions/FunctionsCustomServerTest.php</file>
<file>./tests/e2e/Services/Functions/FunctionsCustomClientTest.php</file>
</testsuite>
<testsuite name="e2e">
<file>./tests/e2e/Client.php</file>
<directory>./tests/e2e/General</directory>
<directory>./tests/e2e/Scopes</directory>
<directory>./tests/e2e/Services/Webhooks</directory>
<directory>./tests/e2e/Services/Account</directory>
<directory>./tests/e2e/Services/Avatars</directory>
<directory>./tests/e2e/Services/Database</directory>
@ -28,9 +37,6 @@
<directory>./tests/e2e/Services/Teams</directory>
<directory>./tests/e2e/Services/Users</directory>
<directory>./tests/e2e/Services/Workers</directory>
<file>./tests/e2e/Services/Functions/FunctionsBase.php</file>
<file>./tests/e2e/Services/Functions/FunctionsCustomServerTest.php</file>
<file>./tests/e2e/Services/Functions/FunctionsCustomClientTest.php</file>
</testsuite>
</testsuites>
</phpunit>