/
phpunit.xml
48 lines (43 loc) · 1.82 KB
/
phpunit.xml
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
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.4/phpunit.xsd"
backupGlobals="false"
colors="true"
verbose="true"
bootstrap="vendor/autoload.php"
failOnRisky="true"
failOnWarning="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
executionOrder="random"
resolveDependencies="true"
>
<testsuites>
<testsuite name="Database storage tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>src</directory>
</include>
</coverage>
<php>
<env name="TEST_TOBENTO_DATABASE_PDO_MYSQL" value="false" />
<env name="TEST_TOBENTO_DATABASE_PDO_MYSQL_DSN" value="mysql:host=localhost;dbname=tobento_database_test;charset=utf8mb4" />
<env name="TEST_TOBENTO_DATABASE_PDO_MYSQL_USERNAME" value="root" />
<env name="TEST_TOBENTO_DATABASE_PDO_MYSQL_PASSWORD" value="" />
<env name="TEST_TOBENTO_DATABASE_PDO_MARIADB" value="false" />
<env name="TEST_TOBENTO_DATABASE_PDO_MARIADB_DSN" value="mysql:host=localhost;dbname=tobento_database_test;charset=utf8mb4" />
<env name="TEST_TOBENTO_DATABASE_PDO_MARIADB_USERNAME" value="root" />
<env name="TEST_TOBENTO_DATABASE_PDO_MARIADB_PASSWORD" value="" />
</php>
<logging>
<junit outputFile="build/report.junit.xml"/>
<testdoxHtml outputFile="build/coverage"/>
<testdoxText outputFile="build/coverage.txt"/>
<testdoxXml outputFile="build/logs/clover.xml"/>
</logging>
</phpunit>