-
Notifications
You must be signed in to change notification settings - Fork 21
/
phpunit.xml.dist
48 lines (46 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./tests/bootstrap.php"
forceCoversAnnotation="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<const name="UNIT_TEST_RUN" value="1"/>
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="BEdita 4 App Test Suite">
<directory>./tests/TestCase</directory>
</testsuite>
<!-- Add plugin test suites here. -->
<testsuite name="BEdita 4 API Test Suite">
<directory>./plugins/BEdita/API/tests/TestCase</directory>
<directory>./plugins/BEdita/API/tests/IntegrationTest</directory>
</testsuite>
<testsuite name="BEdita 4 Core Test Suite">
<directory>./plugins/BEdita/Core/tests/TestCase</directory>
<exclude>./plugins/BEdita/Core/tests/TestCase/Shell/BeditaShellTest.php</exclude>
<exclude>./plugins/BEdita/Core/tests/TestCase/Shell/Task/InitSchemaTaskTest.php</exclude>
</testsuite>
</testsuites>
<extensions>
<extension class="\Cake\TestSuite\Fixture\PHPUnitExtension" />
</extensions>
<!-- Ignore vendor tests in code coverage reports -->
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src/</directory>
<directory suffix=".php">./plugins/*/src/</directory>
<directory suffix=".php">./plugins/*/*/src/</directory>
</include>
<exclude>
<file>src/Console/Installer.php</file>
</exclude>
</coverage>
</phpunit>