forked from passbolt/passbolt_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
46 lines (46 loc) · 2.09 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
<?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>
<include>
<directory suffix=".php">./src/</directory>
<directory suffix=".php">./plugins/AccountSettings/src/</directory>
<directory suffix=".php">./plugins/WebInstaller/src/</directory>
<directory suffix=".php">./plugins/Log/src/</directory>
<directory suffix=".php">./plugins/EmailNotificationSettings/src/</directory>
<directory suffix=".php">./plugins/EmailDigest/src/</directory>
<directory suffix=".php">./plugins/Reports/src/</directory>
<directory suffix=".php">./plugins/Locale/src/</directory>
</include>
</coverage>
<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>
<exclude>./tests/TestCase/Command</exclude>
</testsuite>
<testsuite name="plugins">
<directory>./plugins/Passbolt/AccountSettings/tests/TestCase</directory>
<directory>./plugins/Passbolt/Log/tests/TestCase</directory>
<directory>./plugins/Passbolt/EmailNotificationSettings/tests/TestCase</directory>
<directory>./plugins/Passbolt/EmailDigest/tests/TestCase</directory>
<directory>./plugins/Passbolt/Reports/tests/TestCase</directory>
<directory>./plugins/Passbolt/Locale/tests/TestCase</directory>
</testsuite>
<testsuite name="installers">
<directory>./plugins/Passbolt/WebInstaller/tests/TestCase</directory>
<directory>./tests/TestCase/Command</directory>
</testsuite>
</testsuites>
<!-- Setup a listener for fixtures -->
<listeners>
<listener class="CakephpTestSuiteLight\FixtureInjector">
<arguments>
<object class="CakephpTestSuiteLight\FixtureManager"/>
</arguments>
</listener>
</listeners>
</phpunit>