|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<!-- https://phpunit.readthedocs.io/en/latest/configuration.html --> |
3 | 2 | <phpunit
|
4 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 |
| - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" |
6 |
| - backupGlobals="false" |
7 |
| - colors="true" |
8 |
| - bootstrap="vendor/autoload.php" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd" |
| 5 | + bootstrap="vendor/autoload.php" |
| 6 | + cacheResultFile=".phpunit.cache/test-results" |
| 7 | + executionOrder="depends,defects" |
| 8 | + beStrictAboutCoversAnnotation="true" |
| 9 | + beStrictAboutOutputDuringTests="true" |
| 10 | + beStrictAboutTodoAnnotatedTests="true" |
| 11 | + convertDeprecationsToExceptions="true" |
| 12 | + failOnRisky="true" |
| 13 | + failOnWarning="true" |
| 14 | + verbose="true" |
| 15 | + colors="true" |
9 | 16 | >
|
10 |
| - |
11 | 17 | <php>
|
12 | 18 | <ini name="error_reporting" value="-1"/>
|
13 | 19 | <server name="SHELL_VERBOSITY" value="-1"/>
|
14 | 20 | <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
|
15 | 21 | <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
|
16 | 22 | </php>
|
17 | 23 |
|
18 |
| - <coverage processUncoveredFiles="true"> |
19 |
| - <include> |
20 |
| - <directory suffix=".php">./src/</directory> |
21 |
| - </include> |
22 |
| - <exclude> |
23 |
| - <directory>./src/Resources</directory> |
24 |
| - <directory>./tests</directory> |
25 |
| - <directory>./vendor</directory> |
26 |
| - </exclude> |
27 |
| - </coverage> |
28 |
| - |
29 | 24 | <testsuites>
|
30 | 25 | <testsuite name="all">
|
31 | 26 | <directory>./tests</directory>
|
32 | 27 | </testsuite>
|
33 | 28 | <testsuite name="unit">
|
34 |
| - <directory>./tests/UnitTests</directory> |
| 29 | + <directory>./tests/Unit</directory> |
35 | 30 | </testsuite>
|
36 | 31 | <testsuite name="functional">
|
37 |
| - <directory>./tests/FunctionalTests</directory> |
| 32 | + <directory>./tests/Functional</directory> |
38 | 33 | </testsuite>
|
39 | 34 | <testsuite name="integration">
|
40 |
| - <directory>./tests/IntegrationTests</directory> |
| 35 | + <directory>./tests/Integration</directory> |
41 | 36 | </testsuite>
|
42 | 37 | </testsuites>
|
| 38 | + |
| 39 | + <coverage |
| 40 | + cacheDirectory=".phpunit.cache/code-coverage" |
| 41 | + processUncoveredFiles="true" |
| 42 | + > |
| 43 | + <include> |
| 44 | + <directory suffix=".php">src</directory> |
| 45 | + </include> |
| 46 | + </coverage> |
| 47 | + |
43 | 48 | <listeners>
|
44 | 49 | <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
|
45 | 50 | </listeners>
|
|
0 commit comments