-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
40 lines (33 loc) · 1.13 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true"
stopOnFailure="true"
bootstrap="tests/bootstrap.php"
beStrictAboutCoversAnnotation="true"
verbose="true">
<testsuites>
<testsuite name="Test Suite">
<directory>tests/src</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory>src</directory>
</whitelist>
</filter>
<php>
<var name="DB_DSN" value="mysql:host=127.0.0.1;dbname=test;charset=utf8" />
<var name="DB_HOST" value="127.0.01" />
<var name="DB_NAME" value="test" />
<var name="DB_USER" value="root" />
<var name="DB_PASSWD" value="" />
<var name="DB_TABLE_ITEMCODES" value="itemcodes" />
<var name="DB_DUMP" value="tests/itemcodes.sql" />
</php>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true" />
<log type="coverage-clover" target="tests/logs/clover.xml"/>
<log type="coverage-html" target="tests/logs/html/"/>
<log type="testdox-html" target="tests/logs/testdox.html"/>
<log type="testdox-text" target="tests/logs/testdox.txt"/>
</logging>
</phpunit>