-
Notifications
You must be signed in to change notification settings - Fork 144
/
phpunit.xml.dist
39 lines (39 loc) · 1.48 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
resolveDependencies="true"
bootstrap="./tests/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<php>
<env name="SKIP_DB_TESTS" value="true" force="true" />
<env name="MYSQL_USER" value="test_user" force="true" />
<env name="MYSQL_PASSWORD" value="test_password" force="true" />
<env name="MYSQL_DBNAME" value="test_db" force="true" />
<env name="POSTGRESQL_USER" value="test_user" force="true" />
<env name="POSTGRESQL_PASSWORD" value="test_password" force="true" />
<env name="POSTGRESQL_DBNAME" value="test_db" force="true" />
</php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory suffix=".php">./src/Migrations</directory>
<directory suffix=".php">./src/Languages</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="PHP Common Test Suite">
<directory suffix="Test.php">./tests/src</directory>
</testsuite>
</testsuites>
</phpunit>