-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
34 lines (34 loc) · 1.32 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
<?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/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
<directory suffix=".php">./plugins/*/src</directory>
</include>
</coverage>
<php>
<env name="PHPUNIT" value="true"/>
<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 Test Suite">
<directory>./tests/TestCase</directory>
</testsuite>
<!-- Add plugin test suites here. -->
<testsuite name="Epi Test Suite">
<directory>./plugins/Epi/tests/TestCase</directory>
</testsuite>
<testsuite name="Widgets Test Suite">
<directory>./plugins/Widgets/tests/TestCase</directory>
</testsuite>
<testsuite name="Files Test Suite">
<directory>./plugins/Files/tests/TestCase</directory>
</testsuite>
</testsuites>
<!-- Ignore vendor tests in code coverage reports -->
<extensions>
<extension class="\Cake\TestSuite\Fixture\PHPUnitExtension"/>
</extensions>
</phpunit>