|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" backupGlobals="false" beStrictAboutOutputDuringTests="true" colors="true" executionOrder="random" failOnRisky="true" failOnWarning="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" cacheDirectory=".phpunit.cache" beStrictAboutCoverageMetadata="true"> |
3 | | - <coverage includeUncoveredFiles="true"> |
4 | | - <report> |
5 | | - <clover outputFile="build/phpunit/clover.xml"/> |
6 | | - <html outputDirectory="build/phpunit/html"/> |
7 | | - <php outputFile="build/phpunit/coverage.serialized"/> |
8 | | - <text outputFile="php://stdout" showUncoveredFiles="false"/> |
9 | | - <xml outputDirectory="build/phpunit/xml-coverage"/> |
10 | | - </report> |
11 | | - </coverage> |
12 | | - <testsuites> |
13 | | - <testsuite name="main"> |
14 | | - <directory>./tests</directory> |
15 | | - </testsuite> |
16 | | - </testsuites> |
17 | | - <extensions> |
18 | | - <extension class="Nexus\PHPUnit\Extension\Tachycardia"> |
19 | | - <arguments> |
20 | | - <array> |
21 | | - <element key="timeLimit"> |
22 | | - <double>0.50</double> |
23 | | - </element> |
24 | | - <element key="reportable"> |
25 | | - <integer>30</integer> |
26 | | - </element> |
27 | | - <element key="precision"> |
28 | | - <integer>2</integer> |
29 | | - </element> |
30 | | - <element key="collectBare"> |
31 | | - <boolean>true</boolean> |
32 | | - </element> |
33 | | - <element key="tabulate"> |
34 | | - <boolean>true</boolean> |
35 | | - </element> |
36 | | - </array> |
37 | | - </arguments> |
38 | | - </extension> |
39 | | - </extensions> |
40 | | - <logging> |
41 | | - <testdoxHtml outputFile="build/phpunit/testdox.html"/> |
42 | | - <testdoxText outputFile="build/phpunit/testdox.txt"/> |
43 | | - <junit outputFile="build/phpunit/junit.xml"/> |
44 | | - </logging> |
45 | | - <php> |
46 | | - <env name="XDEBUG_MODE" value="coverage"/> |
47 | | - <server name="app.baseURL" value="https://example.com/"/> |
48 | | - <!-- Directory containing phpunit.xml --> |
49 | | - <const name="HOMEPATH" value="./"/> |
50 | | - <!-- Directory containing the Paths config file --> |
51 | | - <const name="CONFIGPATH" value="./app/Config/"/> |
52 | | - <!-- Directory containing the front controller (index.php) --> |
53 | | - <const name="PUBLICPATH" value="./public/"/> |
54 | | - <!-- https://getcomposer.org/xdebug --> |
55 | | - <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
56 | | - <!-- Database configuration --> |
57 | | - <env name="database.tests.strictOn" value="true"/> |
58 | | - <!-- Uncomment to use alternate testing database configuration |
59 | | - <env name="database.tests.hostname" value="localhost"/> |
60 | | - <env name="database.tests.database" value="tests"/> |
61 | | - <env name="database.tests.username" value="tests_user"/> |
62 | | - <env name="database.tests.password" value=""/> |
63 | | - <env name="database.tests.DBDriver" value="MySQLi"/> |
64 | | - <env name="database.tests.DBPrefix" value="tests_"/> |
65 | | - --> |
66 | | - </php> |
67 | | - <source> |
68 | | - <include> |
69 | | - <directory suffix=".php">./app/</directory> |
70 | | - </include> |
71 | | - <exclude> |
72 | | - <directory suffix=".php">./app/Config</directory> |
73 | | - <directory suffix=".php">./app/Views</directory> |
74 | | - </exclude> |
75 | | - </source> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
| 4 | + bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" |
| 5 | + backupGlobals="false" |
| 6 | + beStrictAboutOutputDuringTests="true" |
| 7 | + colors="true" |
| 8 | + executionOrder="random" |
| 9 | + failOnRisky="true" |
| 10 | + failOnWarning="true" |
| 11 | + stopOnError="false" |
| 12 | + stopOnFailure="false" |
| 13 | + stopOnIncomplete="false" |
| 14 | + stopOnSkipped="false" |
| 15 | + cacheDirectory=".phpunit.cache" |
| 16 | + beStrictAboutCoverageMetadata="true"> |
| 17 | + <coverage includeUncoveredFiles="true"> |
| 18 | + <report> |
| 19 | + <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 | + </report> |
| 25 | + </coverage> |
| 26 | + <testsuites> |
| 27 | + <testsuite name="main"> |
| 28 | + <directory>./tests</directory> |
| 29 | + </testsuite> |
| 30 | + </testsuites> |
| 31 | + <extensions> |
| 32 | + <extension class="Nexus\PHPUnit\Extension\Tachycardia"> |
| 33 | + <arguments> |
| 34 | + <array> |
| 35 | + <element key="timeLimit"> |
| 36 | + <double>0.50</double> |
| 37 | + </element> |
| 38 | + <element key="reportable"> |
| 39 | + <integer>30</integer> |
| 40 | + </element> |
| 41 | + <element key="precision"> |
| 42 | + <integer>2</integer> |
| 43 | + </element> |
| 44 | + <element key="collectBare"> |
| 45 | + <boolean>true</boolean> |
| 46 | + </element> |
| 47 | + <element key="tabulate"> |
| 48 | + <boolean>true</boolean> |
| 49 | + </element> |
| 50 | + </array> |
| 51 | + </arguments> |
| 52 | + </extension> |
| 53 | + </extensions> |
| 54 | + <logging> |
| 55 | + <testdoxHtml outputFile="build/phpunit/testdox.html"/> |
| 56 | + <testdoxText outputFile="build/phpunit/testdox.txt"/> |
| 57 | + <junit outputFile="build/phpunit/junit.xml"/> |
| 58 | + </logging> |
| 59 | + <php> |
| 60 | + <env name="XDEBUG_MODE" value="coverage"/> |
| 61 | + <server name="app.baseURL" value="https://example.com/"/> |
| 62 | + <!-- Directory containing phpunit.xml --> |
| 63 | + <const name="HOMEPATH" value="./"/> |
| 64 | + <!-- Directory containing the Paths config file --> |
| 65 | + <const name="CONFIGPATH" value="./app/Config/"/> |
| 66 | + <!-- Directory containing the front controller (index.php) --> |
| 67 | + <const name="PUBLICPATH" value="./public/"/> |
| 68 | + <!-- https://getcomposer.org/xdebug --> |
| 69 | + <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
| 70 | + <!-- Database configuration --> |
| 71 | + <env name="database.tests.strictOn" value="true"/> |
| 72 | + <!-- Uncomment to use alternate testing database configuration |
| 73 | + <env name="database.tests.hostname" value="localhost"/> |
| 74 | + <env name="database.tests.database" value="tests"/> |
| 75 | + <env name="database.tests.username" value="tests_user"/> |
| 76 | + <env name="database.tests.password" value=""/> |
| 77 | + <env name="database.tests.DBDriver" value="MySQLi"/> |
| 78 | + <env name="database.tests.DBPrefix" value="tests_"/> |
| 79 | + --> |
| 80 | + </php> |
| 81 | + <source> |
| 82 | + <include> |
| 83 | + <directory suffix=".php">./app/</directory> |
| 84 | + </include> |
| 85 | + <exclude> |
| 86 | + <directory suffix=".php">./app/Config</directory> |
| 87 | + <directory suffix=".php">./app/Views</directory> |
| 88 | + </exclude> |
| 89 | + </source> |
76 | 90 | </phpunit> |
0 commit comments