|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
| 3 | + xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" |
4 | 4 | bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" |
5 | | - backupGlobals="false" |
6 | 5 | beStrictAboutOutputDuringTests="true" |
7 | 6 | colors="true" |
| 7 | + columns="max" |
8 | 8 | executionOrder="random" |
9 | 9 | failOnRisky="true" |
10 | 10 | failOnWarning="true" |
11 | | - stopOnError="false" |
12 | | - stopOnFailure="false" |
13 | | - stopOnIncomplete="false" |
14 | | - stopOnSkipped="false" |
15 | 11 | cacheDirectory="build/.phpunit.cache" |
16 | | - beStrictAboutCoverageMetadata="true"> |
| 12 | + beStrictAboutCoverageMetadata="true" |
| 13 | +> |
| 14 | + <source> |
| 15 | + <include> |
| 16 | + <directory suffix=".php">./src/</directory> |
| 17 | + </include> |
| 18 | + <exclude> |
| 19 | + <directory suffix=".php">./src/Config</directory> |
| 20 | + <directory suffix=".php">./src/Views</directory> |
| 21 | + <directory suffix=".php">./src/Language</directory> |
| 22 | + </exclude> |
| 23 | + </source> |
17 | 24 | <coverage includeUncoveredFiles="true"> |
18 | 25 | <report> |
19 | 26 | <clover outputFile="build/phpunit/clover.xml"/> |
20 | | - <html outputDirectory="build/phpunit/html"/> |
21 | | - <php outputFile="build/phpunit/coverage.serialized"/> |
22 | | - <text outputFile="php://stdout" showUncoveredFiles="false"/> |
23 | | - <xml outputDirectory="build/phpunit/xml-coverage"/> |
24 | 27 | </report> |
25 | 28 | </coverage> |
26 | 29 | <testsuites> |
|
36 | 39 | </bootstrap> |
37 | 40 | <bootstrap class="Boundwize\Pyrameter\Extension"/> |
38 | 41 | </extensions> |
39 | | - <logging> |
40 | | - <testdoxHtml outputFile="build/phpunit/testdox.html"/> |
41 | | - <testdoxText outputFile="build/phpunit/testdox.txt"/> |
42 | | - <junit outputFile="build/phpunit/junit.xml"/> |
43 | | - </logging> |
44 | 42 | <php> |
45 | 43 | <env name="XDEBUG_MODE" value="coverage"/> |
46 | 44 | <!-- Set hashCost for improving the speed of running tests --> |
|
52 | 50 | <const name="CONFIGPATH" value="vendor/codeigniter4/framework/app/Config/"/> |
53 | 51 | <!-- Directory containing the front controller (index.php) --> |
54 | 52 | <const name="PUBLICPATH" value="./public/"/> |
55 | | - <!-- https://getcomposer.org/xdebug --> |
56 | | - <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
57 | 53 | <!-- Default HMAC encryption key --> |
58 | 54 | <env name="authtoken.hmacEncryptionKeys" value="{"k1":{"key":"hex2bin:178ed94fd0b6d57dd31dd6b22fc601fab8ad191efac165a5f3f30a8ac09d813d"},"k2":{"key":"hex2bin:b0ab85bd0320824c496db2f40eb47c8712a6dfcfdf99b805988e22bdea6b9203"}}"/> |
59 | 55 | <!-- Database configuration --> |
|
67 | 63 | <env name="database.tests.DBPrefix" value="db_"/> |
68 | 64 | --> |
69 | 65 | </php> |
70 | | - <source> |
71 | | - <include> |
72 | | - <directory suffix=".php">./src/</directory> |
73 | | - </include> |
74 | | - <exclude> |
75 | | - <directory suffix=".php">./src/Config</directory> |
76 | | - <directory suffix=".php">./src/Views</directory> |
77 | | - <directory suffix=".php">./src/Language</directory> |
78 | | - </exclude> |
79 | | - </source> |
80 | 66 | </phpunit> |
0 commit comments