-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
51 lines (47 loc) · 1.73 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="app">
<directory>tests/TestCase/</directory>
</testsuite>
<!-- Add plugin test suites here. -->
</testsuites>
<!-- Load extension for fixtures -->
<extensions>
<extension class="Cake\TestSuite\Fixture\PHPUnitExtension"/>
</extensions>
<coverage>
<report>
<clover outputFile="tests-results/clover.xml"/>
<html outputDirectory="tests-results/html-coverage" lowUpperBound="50" highLowerBound="90"/>
<php outputFile="tests-results/coverage.php"/>
<text outputFile="tests-results/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="tests-results/xml-coverage"/>
</report>
<include>
<directory suffix=".php">src/</directory>
<directory suffix=".php">plugins/*/src/</directory>
</include>
<exclude>
<directory suffix=".php">vendor/</directory>
<file>src/Console/Installer.php</file>
</exclude>
</coverage>
<logging>
<junit outputFile="tests-results/junit.xml"/>
<testdoxHtml outputFile="tests-results/testdox.html"/>
<testdoxText outputFile="tests-results/testdox.txt"/>
<testdoxXml outputFile="tests-results/testdox.xml"/>
<text outputFile="tests-results/logfile.txt"/>
</logging>
</phpunit>