|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | - |
3 | | -<phpunit backupGlobals="false" |
4 | | - backupStaticAttributes="false" |
5 | | - colors="true" |
6 | | - convertErrorsToExceptions="true" |
7 | | - convertNoticesToExceptions="true" |
8 | | - convertWarningsToExceptions="true" |
9 | | - processIsolation="false" |
10 | | - stopOnFailure="false" |
11 | | - bootstrap="tests/bootstrap.php" |
| 2 | +<phpunit |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" |
| 5 | + backupGlobals="false" |
| 6 | + backupStaticAttributes="false" |
| 7 | + colors="true" |
| 8 | + convertErrorsToExceptions="true" |
| 9 | + convertNoticesToExceptions="true" |
| 10 | + convertWarningsToExceptions="true" |
| 11 | + processIsolation="false" |
| 12 | + stopOnFailure="false" |
| 13 | + bootstrap="tests/bootstrap.php" |
12 | 14 | > |
13 | | - |
14 | | - <php> |
15 | | - <var name="db_host" value="127.0.0.1" /> |
16 | | - <var name="db_port" value="3306"/> |
17 | | - <var name="db_username" value="root" /> |
18 | | - <var name="db_password" value="" /> |
19 | | - <var name="db_driver" value="pdo_mysql"/> |
20 | | - </php> |
21 | | - |
22 | | - <testsuites> |
23 | | - <testsuite name="Mouf Test Suite"> |
24 | | - <directory>./tests/</directory> |
25 | | - </testsuite> |
26 | | - </testsuites> |
27 | | - |
28 | | - <filter> |
29 | | - <whitelist processUncoveredFilesFromWhitelist="true"> |
30 | | - <directory suffix=".php">src/</directory> |
31 | | - </whitelist> |
32 | | - </filter> |
33 | | - <logging> |
34 | | - <log type="coverage-html" target="build/coverage" /> |
35 | | - <log type="coverage-clover" target="build/logs/clover.xml"/> |
36 | | - </logging> |
| 15 | + <coverage processUncoveredFiles="true"> |
| 16 | + <include> |
| 17 | + <directory suffix=".php">src/</directory> |
| 18 | + </include> |
| 19 | + <report> |
| 20 | + <clover outputFile="build/logs/clover.xml"/> |
| 21 | + <html outputDirectory="build/coverage"/> |
| 22 | + </report> |
| 23 | + </coverage> |
| 24 | + <php> |
| 25 | + <var name="db_host" value="127.0.0.1"/> |
| 26 | + <var name="db_port" value="3306"/> |
| 27 | + <var name="db_username" value="root"/> |
| 28 | + <var name="db_password" value=""/> |
| 29 | + <var name="db_driver" value="pdo_mysql"/> |
| 30 | + </php> |
| 31 | + <testsuites> |
| 32 | + <testsuite name="Mouf Test Suite"> |
| 33 | + <directory>./tests/</directory> |
| 34 | + </testsuite> |
| 35 | + </testsuites> |
| 36 | + <logging/> |
37 | 37 | </phpunit> |
0 commit comments