-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
32 lines (31 loc) · 972 Bytes
/
phpunit.xml
File metadata and controls
32 lines (31 loc) · 972 Bytes
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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
ignoreDeprecatedCodeUnitsFromCodeCoverage="true"
>
<testsuites>
<testsuite name="all">
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
<!-- The suite below HAS to be last to run,
as it includes a test that sets some const and would contaminate
the other tests as well. -->
<testsuite name="all-but-last">
<directory prefix="testX-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<!-- <log type="coverage-html" target="build/logs/html"/> -->
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib</directory>
<file>timber.php</file>
</whitelist>
</filter>
</phpunit>