|
| 1 | +<?xml version="1.0"?> |
1 | 2 | <phpunit
|
2 |
| - colors="true" |
3 |
| - stopOnError="true" |
4 |
| - stopOnFailure="true" |
5 |
| - convertErrorsToExceptions="true" |
6 |
| - convertNoticesToExceptions="true" |
7 |
| - convertWarningsToExceptions="true" |
8 |
| - bootstrap="./vendor/autoload.php"> |
9 |
| - |
10 |
| - <testsuite name="Unit test suite"> |
11 |
| - <directory>./tests</directory> |
12 |
| - </testsuite> |
13 |
| - |
14 |
| - <filter> |
15 |
| - <whitelist> |
16 |
| - <directory suffix=".php">./src</directory> |
17 |
| - <!-- no need to test the autoloading --> |
18 |
| - <exclude> |
19 |
| - <file>./src/autoload.php</file> |
20 |
| - </exclude> |
21 |
| - </whitelist> |
22 |
| - </filter> |
23 |
| - |
24 |
| - <php> |
25 |
| - <ini name="error_reporting" value="32767"/> |
26 |
| - <ini name="display_errors" value="1"/> |
27 |
| - <ini name="display_startup_errors" value="1"/> |
28 |
| - </php> |
29 |
| - |
30 |
| - <logging> |
31 |
| - <log type="coverage-html" target="./build/coverage" lowUpperBound="35" highLowerBound="70"/> |
32 |
| - <log type="coverage-clover" target="./build/logs/clover.xml"/> |
33 |
| - <log type="junit" target="./build/logs/junit.xml"/> |
34 |
| - <log type="testdox-html" target="./build/logs/testdox.html"/> |
35 |
| - <log type="testdox-text" target="./build/logs/testdox.txt"/> |
36 |
| - </logging> |
37 |
| - |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + colors="true" |
| 5 | + stopOnError="true" |
| 6 | + stopOnFailure="true" |
| 7 | + convertErrorsToExceptions="true" |
| 8 | + convertNoticesToExceptions="true" |
| 9 | + convertWarningsToExceptions="true" |
| 10 | + bootstrap="./vendor/autoload.php" |
| 11 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" |
| 12 | +> |
| 13 | + <coverage> |
| 14 | + <include> |
| 15 | + <directory suffix=".php">./src</directory> |
| 16 | + </include> |
| 17 | + <exclude> |
| 18 | + <file>./src/autoload.php</file> |
| 19 | + </exclude> |
| 20 | + <report> |
| 21 | + <clover outputFile="./build/logs/clover.xml"/> |
| 22 | + <html outputDirectory="./build/coverage" lowUpperBound="35" highLowerBound="70"/> |
| 23 | + </report> |
| 24 | + </coverage> |
| 25 | + <testsuite name="Unit test suite"> |
| 26 | + <directory>./tests</directory> |
| 27 | + </testsuite> |
| 28 | + <php> |
| 29 | + <ini name="error_reporting" value="32767"/> |
| 30 | + <ini name="display_errors" value="1"/> |
| 31 | + <ini name="display_startup_errors" value="1"/> |
| 32 | + </php> |
| 33 | + <logging> |
| 34 | + <junit outputFile="./build/logs/junit.xml"/> |
| 35 | + <testdoxHtml outputFile="./build/logs/testdox.html"/> |
| 36 | + <testdoxText outputFile="./build/logs/testdox.txt"/> |
| 37 | + </logging> |
38 | 38 | </phpunit>
|
0 commit comments