forked from lox/pheasant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
48 lines (41 loc) · 1.21 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
verbose="true"
bootstrap="vendor/autoload.php"
stopOnFailure="true"
stopOnErrors="true"
colors="true"
>
<!-- Test suites to be run -->
<testsuites>
<testsuite name="pheasant">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<!-- Filters for code coverage reporting -->
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./benchmarks</directory>
<directory>./tests</directory>
<directory>./vendor</directory>
<!-- Exclude interfaces from coverage -->
<file>./lib/Pheasant/Finder/Finder.php</file>
<file>./lib/Pheasant/Mapper/Mapper.php</file>
<file>./lib/Pheasant/Type.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<!-- Test listeners -->
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener" file="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"></listener>
</listeners>
<php>
<ini name="error_reporting" value="-1" />
<ini name="date.timezone" value="UTC" />
</php>
</phpunit>