-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
28 lines (28 loc) · 926 Bytes
/
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
<?xml version="1.0"?>
<!-- works fine with PHPUnit-4.8.21 -->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
checkForUnintentionallyCoveredCode="true"
processIsolation="false"
stopOnFailure="true"
syntaxCheck="true" >
<testsuite name="LastfmApio tests">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<!-- this is the path of the files included in your clover report -->
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./tests/reports/clover.xml"/>
<log type="coverage-html" target="./tests/reports/"/>
</logging>
</phpunit>