|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | - |
3 | 2 | <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> |
4 | 3 | <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | | - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" |
| 4 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" |
6 | 5 | backupGlobals="false" |
7 | | - backupStaticAttributes="false" |
8 | 6 | bootstrap="tests/bootstrap.php" |
9 | 7 | colors="true" |
10 | 8 | testdox="true" |
11 | | - convertErrorsToExceptions="true" |
12 | | - convertNoticesToExceptions="true" |
13 | | - convertWarningsToExceptions="true" |
| 9 | + beStrictAboutTestsThatDoNotTestAnything="true" |
| 10 | + beStrictAboutOutputDuringTests="true" |
14 | 11 | processIsolation="false" |
15 | 12 | stopOnFailure="false" |
| 13 | + displayDetailsOnTestsThatTriggerDeprecations="true" |
| 14 | + displayDetailsOnTestsThatTriggerNotices="true" |
| 15 | + displayDetailsOnTestsThatTriggerWarnings="true" |
| 16 | + displayDetailsOnTestsThatTriggerErrors="true" |
| 17 | + cacheDirectory=".phpunit.cache" |
16 | 18 | > |
17 | | - <coverage processUncoveredFiles="true"> |
| 19 | + <coverage> |
18 | 20 | <include> |
19 | 21 | <directory suffix=".php">./src</directory> |
20 | 22 | </include> |
|
29 | 31 | <ini name="display_errors" value="On" /> |
30 | 32 | <ini name="display_startup_errors" value="On" /> |
31 | 33 | <ini name="date.timezone" value="UTC" /> |
32 | | - |
33 | 34 | <env name="KERNEL_CLASS" value="App\Kernel" /> |
34 | 35 | <env name="APP_ENV" value="test" force="true" /> |
35 | 36 | <env name="SHELL_VERBOSITY" value="-1" /> |
36 | 37 | <env name="APP_DEBUG" value="false" force="true" /> |
37 | 38 | </php> |
38 | | - <listeners> |
39 | | - <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" /> |
40 | | - </listeners> |
41 | 39 | <testsuites> |
42 | 40 | <testsuite name="Unit"> |
43 | 41 | <directory suffix="Test.php">./tests/Unit</directory> |
44 | 42 | </testsuite> |
45 | | - |
46 | 43 | <testsuite name="Functional"> |
47 | 44 | <directory suffix="Test.php">./tests/Functional</directory> |
48 | 45 | </testsuite> |
|
0 commit comments