-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml.dist
50 lines (45 loc) · 1.56 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
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
colors="true"
stopOnFailure="true"
stopOnError="true"
verbose="true">
<php>
<env name="MYSQL_DSN" value="mysql:host=localhost;dbname=sqlbuilder"/>
<env name="MYSQL_USER" value="root"/>
<!--
<env name="MYSQL_DB" value="sqlbuilder_test"/>
-->
<env name="PGSQL_DSN" value="pgsql:host=localhost;dbname=sqlbuilder"/>
<env name="PGSQL_USER" value="postgres"/>
<!--
<env name="PGSQL_DB" value="sqlbuilder_test"/>
-->
<env name="SQLITE_DSN" value="sqlite:dbname=sqlbuilder.sqlite"/>
</php>
<testsuites>
<testsuite name="PHPUnit">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<directory>./build</directory>
<directory>./composer</directory>
<directory>./tests</directory>
<directory>./travis</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/logs/report.tap" />
<log type="junit" target="build/logs/report.junit.xml" />
<log type="coverage-html" target="build/logs/coverage" charset="UTF-8" yui="true" highlight="true" />
<log type="coverage-text" target="build/logs/coverage.txt" />
<log type="coverage-clover" target="build/logs/clover.xml" />
</logging>
</phpunit>