-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml.dist
49 lines (46 loc) · 1.69 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="phpunit-bootstrap.php"
processIsolation="false"
verbose="true"
strict="false"
colors="true">
<testsuites>
<testsuite name="PHPUnit">
<directory>src/*/*/Tests</directory>
</testsuite>
</testsuites>
<php>
<!-- Don't change GOODBY_DDD_TEST_DB_*_DEFAULT here. See phpunit-bootstrap.php. -->
<server name="GOODBY_DDD_TEST_DB_HOST_DEFAULT" value="localhost"/>
<server name="GOODBY_DDD_TEST_DB_NAME_DEFAULT" value="goodby_ddd_test"/>
<server name="GOODBY_DDD_TEST_DB_USER_DEFAULT" value="root"/>
<server name="GOODBY_DDD_TEST_DB_PASS_DEFAULT" value="root"/>
</php>
<logging>
<log
type="coverage-html"
target="metrics/coverage"
charset="UTF-8"
yui="true"
highlight="false"
lowUpperBound="35"
highLowerBound="70"/>
<!-- <log type="coverage-text" target="php://stdout" lowUpperBound="35" highLowerBound="70" /> -->
</logging>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
<!-- <file>/path/to/file</file> -->
<exclude>
<!-- <file>/path/to/file</file> -->
<directory suffix="Interface.php">src</directory>
<directory>src/*/*/Tests</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener"
file="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"/>
</listeners>
</phpunit>