-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml
34 lines (30 loc) · 1.06 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
<phpunit colors="true">
<php>
<const name="INFUSE_BASE_DIR" value="." />
</php>
<listeners>
<listener file="assets/constants.php"></listener>
<listener file="vendor/autoload.php"></listener>
<listener class="Test"></listener>
<listener class="Mockery\Adapter\Phpunit\TestListener"></listener>
</listeners>
<testsuites>
<testsuite name="App">
<directory suffix="Test.php">app/*/tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/coverage" title="PHP_CodeCoverage" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">app</directory>
<exclude>
<directory suffix="Test.php">app</directory>
<directory suffix="Controller.php">app</directory>
<directory suffix=".php">app/*/migrations</directory>
</exclude>
</whitelist>
</filter>
</phpunit>