forked from burzum/cakephp-file-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
63 lines (59 loc) · 2.06 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<php>
<ini name="memory_limit" value="-1"/>
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="All Tests">
<directory>./tests/TestCase</directory>
</testsuite>
<!-- Add plugin test suites here. -->
</testsuites>
<!-- Setup a listener for fixtures -->
<listeners>
<listener
class="\Cake\TestSuite\Fixture\FixtureInjector"
file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php">
<arguments>
<object class="\Cake\TestSuite\Fixture\FixtureManager" />
</arguments>
</listener>
</listeners>
<!--
ANY logging MUST be disabled when running selenium tests!
See https://github.com/rshf/chromedriver/issues/728#issuecomment-93446962
En/disable the log as needed.
-->
<logging>
<log type="coverage-html" target="./tmp/tests/report" lowUpperBound="35" highLowerBound="70"/>
<!--<log type="coverage-clover" target="./tmp/tests/coverage.xml"/>-->
<!--<log type="coverage-php" target="/tmp/coverage.serialized"/>-->
<!--<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>-->
<!--<log type="json" target="/tmp/logfile.json"/>-->
<!--<log type="tap" target="/tmp/logfile.tap"/>-->
<!--<log type="junit" target="/tmp/logfile.xml" logIncompleteSkipped="false"/>-->
<!--<log type="testdox-html" target=".//tmp/tests/testdox.html"/>-->
<!--<log type="testdox-text" target=".//tmp/tests/testdox.txt"/>-->
</logging>
<!-- Add a filter to make sure we don't count vendors and Tests in the coverage report -->
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
<exclude>
<file>./src/Storage/PathBuilder/PathBuilderInterface.php</file>
<directory>./vendor</directory>
<directory>./tests</directory>
<directory>./src/Model/Entity</directory>
<directory>./src/Event</directory>
<directory>./src/Lib</directory>
</exclude>
</whitelist>
</filter>
</phpunit>