forked from burzum/cakephp-file-storage
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpunit.xml.dist
52 lines (52 loc) · 2.16 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" processIsolation="false" stopOnFailure="false" bootstrap="./tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd">
<coverage>
<report>
<html outputDirectory="./tmp/tests/report" lowUpperBound="35" highLowerBound="70"/>
</report>
</coverage>
<php>
<ini name="memory_limit" value="-1"/>
<env name="FIXTURE_SCHEMA_METADATA" value="./tests/schema.php"/>
</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 -->
<extensions>
<bootstrap class="Cake\TestSuite\Fixture\Extension\PHPUnitExtension"/>
</extensions>
<!--
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-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 -->
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<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>
</source>
</phpunit>