|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<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"> |
3 |
| - <php> |
4 |
| - <ini name="memory_limit" value="-1"/> |
5 |
| - <ini name="apc.enable_cli" value="1"/> |
6 |
| - </php> |
7 |
| - <!-- Add any additional test suites you want to run here --> |
8 |
| - <testsuites> |
9 |
| - <testsuite name="app"> |
10 |
| - <directory>./tests/TestCase</directory> |
11 |
| - <exclude>./tests/TestCase/Command</exclude> |
12 |
| - </testsuite> |
13 |
| - <testsuite name="plugins"> |
14 |
| - <directory>./plugins</directory> |
15 |
| - <exclude>./plugins/PassboltCe/WebInstaller</exclude> |
16 |
| - </testsuite> |
17 |
| - <testsuite name="installers"> |
18 |
| - <directory>./plugins/PassboltCe/WebInstaller/tests/TestCase</directory> |
19 |
| - <directory>./tests/TestCase/Command</directory> |
20 |
| - </testsuite> |
21 |
| - </testsuites> |
| 2 | +<phpunit |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + colors="true" |
| 5 | + processIsolation="false" |
| 6 | + stopOnFailure="false" |
| 7 | + bootstrap="./tests/bootstrap.php" |
| 8 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" |
| 9 | +> |
| 10 | + <php> |
| 11 | + <ini name="memory_limit" value="-1"/> |
| 12 | + <ini name="apc.enable_cli" value="1"/> |
| 13 | + </php> |
| 14 | + <!-- Add any additional test suites you want to run here --> |
| 15 | + <testsuites> |
| 16 | + <testsuite name="app"> |
| 17 | + <directory>tests/TestCase</directory> |
| 18 | + <exclude>tests/TestCase/Command</exclude> |
| 19 | + </testsuite> |
| 20 | + <testsuite name="ce"> |
| 21 | + <directory>plugins/PassboltCe/*/tests/TestCase</directory> |
| 22 | + <exclude>plugins/PassboltCe/WebInstaller/tests/TestCase</exclude> |
| 23 | + </testsuite> |
| 24 | + <testsuite name="ee"> |
| 25 | + <directory>plugins/PassboltEe/*/tests/TestCase</directory> |
| 26 | + </testsuite> |
| 27 | + <testsuite name="installers"> |
| 28 | + <directory>plugins/PassboltCe/WebInstaller/tests/TestCase</directory> |
| 29 | + <directory>tests/TestCase/Command</directory> |
| 30 | + </testsuite> |
| 31 | + </testsuites> |
| 32 | + |
| 33 | + <!-- Ignore vendor tests in code coverage reports --> |
| 34 | + <source> |
| 35 | + <include> |
| 36 | + <directory suffix=".php">src/</directory> |
| 37 | + <directory suffix=".php">plugins/**/src/</directory> |
| 38 | + </include> |
| 39 | + <exclude> |
| 40 | + <file>src/Console/Installer.php</file> |
| 41 | + </exclude> |
| 42 | + </source> |
| 43 | + |
22 | 44 | <extensions>
|
23 |
| - <extension class="\Cake\TestSuite\Fixture\PHPUnitExtension" /> |
24 |
| - <extension class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/> |
| 45 | + <bootstrap class="Cake\TestSuite\Fixture\Extension\PHPUnitExtension" /> |
| 46 | + <bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/> |
25 | 47 | </extensions>
|
26 | 48 | </phpunit>
|
0 commit comments