f0626d2ee4
Since tests take almost 20 minute to run, stopping tests as soon as an failure occurs will allow for faster iteration locally and also free up resources in the CI pipeline.
38 lines
1.7 KiB
XML
38 lines
1.7 KiB
XML
<phpunit backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
bootstrap="vendor/autoload.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="true"
|
|
>
|
|
<extensions>
|
|
<extension class="Appwrite\Tests\TestHook" />
|
|
</extensions>
|
|
<testsuites>
|
|
<testsuite name="unit">
|
|
<directory>./tests/unit</directory>
|
|
</testsuite>
|
|
<testsuite name="e2e">
|
|
<file>./tests/e2e/Client.php</file>
|
|
<directory>./tests/e2e/General</directory>
|
|
<directory>./tests/e2e/Scopes</directory>
|
|
<directory>./tests/e2e/Services/Account</directory>
|
|
<directory>./tests/e2e/Services/Realtime</directory>
|
|
<directory>./tests/e2e/Services/Avatars</directory>
|
|
<directory>./tests/e2e/Services/Databases</directory>
|
|
<directory>./tests/e2e/Services/Health</directory>
|
|
<directory>./tests/e2e/Services/Locale</directory>
|
|
<directory>./tests/e2e/Services/Projects</directory>
|
|
<directory>./tests/e2e/Services/Storage</directory>
|
|
<directory>./tests/e2e/Services/Teams</directory>
|
|
<directory>./tests/e2e/Services/Users</directory>
|
|
<directory>./tests/e2e/Services/Webhooks</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>
|