|
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/9.5/phpunit.xsd" |
| 3 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
4 | 4 | bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php"
|
5 | 5 | backupGlobals="false"
|
6 |
| - beStrictAboutCoversAnnotation="true" |
7 | 6 | beStrictAboutOutputDuringTests="true"
|
8 |
| - beStrictAboutTodoAnnotatedTests="true" |
9 | 7 | colors="true"
|
10 |
| - convertErrorsToExceptions="true" |
11 |
| - convertNoticesToExceptions="true" |
12 |
| - convertWarningsToExceptions="true" |
13 | 8 | executionOrder="random"
|
14 | 9 | failOnRisky="true"
|
15 | 10 | failOnWarning="true"
|
16 | 11 | stopOnError="false"
|
17 | 12 | stopOnFailure="false"
|
18 | 13 | stopOnIncomplete="false"
|
19 | 14 | stopOnSkipped="false"
|
20 |
| - verbose="true"> |
| 15 | + cacheDirectory=".phpunit.cache" |
| 16 | + beStrictAboutCoverageMetadata="true"> |
21 | 17 |
|
22 |
| - <coverage includeUncoveredFiles="true" processUncoveredFiles="true"> |
23 |
| - <include> |
24 |
| - <directory suffix=".php">./src/</directory> |
25 |
| - </include> |
26 |
| - <exclude> |
27 |
| - <directory suffix=".php">./src/Commands/Generators</directory> |
28 |
| - <directory suffix=".php">./src/Commands/Utils</directory> |
29 |
| - <directory suffix=".php">./src/Config</directory> |
30 |
| - </exclude> |
| 18 | + <coverage includeUncoveredFiles="true"> |
31 | 19 | <report>
|
32 | 20 | <clover outputFile="build/phpunit/clover.xml"/>
|
33 | 21 | <html outputDirectory="build/phpunit/html"/>
|
|
44 | 32 | </testsuites>
|
45 | 33 |
|
46 | 34 | <extensions>
|
47 |
| - <extension class="Nexus\PHPUnit\Extension\Tachycardia"> |
48 |
| - <arguments> |
49 |
| - <array> |
50 |
| - <element key="timeLimit"> |
51 |
| - <double>0.50</double> |
52 |
| - </element> |
53 |
| - <element key="reportable"> |
54 |
| - <integer>30</integer> |
55 |
| - </element> |
56 |
| - <element key="precision"> |
57 |
| - <integer>2</integer> |
58 |
| - </element> |
59 |
| - <element key="collectBare"> |
60 |
| - <boolean>true</boolean> |
61 |
| - </element> |
62 |
| - <element key="tabulate"> |
63 |
| - <boolean>true</boolean> |
64 |
| - </element> |
65 |
| - </array> |
66 |
| - </arguments> |
67 |
| - </extension> |
| 35 | + <bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension"> |
| 36 | + <parameter name="time-limit" value="0.50"/> |
| 37 | + <parameter name="report-count" value="30"/> |
| 38 | + <parameter name="format" value="table"/> |
| 39 | + </bootstrap> |
68 | 40 | </extensions>
|
69 | 41 |
|
70 | 42 | <logging>
|
|
100 | 72 | <env name="database.tests.DBPrefix" value="tests_"/>
|
101 | 73 | -->
|
102 | 74 | </php>
|
| 75 | + <source> |
| 76 | + <include> |
| 77 | + <directory suffix=".php">./src/</directory> |
| 78 | + </include> |
| 79 | + <exclude> |
| 80 | + <directory suffix=".php">./src/Commands/Generators</directory> |
| 81 | + <directory suffix=".php">./src/Commands/Utils</directory> |
| 82 | + <directory suffix=".php">./src/Config</directory> |
| 83 | + </exclude> |
| 84 | + </source> |
103 | 85 | </phpunit>
|
0 commit comments