-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit-ci.xml
40 lines (34 loc) · 1.19 KB
/
phpunit-ci.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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
backupGlobals="false"
verbose="true">
<php>
<!-- configuration for mysql -->
<env name="DB_MYSQL_DSN" value="mysql:dbname=testing"/>
<env name="DB_MYSQL_USER" value="root"/>
<!-- <env name="DB_MYSQL_PASS" value="testing"/> -->
<!-- configuration for pgsql -->
<env name="DB_PGSQL_DSN" value="pgsql:dbname=testing"/>
<env name="DB_PGSQL_USER" value="postgres"/>
<!-- <env name="DB_PGSQL_PASS" value="testing"/> -->
<env name="DB_SQLITE_DSN" value="sqlite::memory:"/>
</php>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<testsuites>
<testsuite name="PHPUnit">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="build/coverage" title="LazyRecord"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml"
logIncompleteSkipped="false"/>
</logging>
</phpunit>