|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/codeigniter4/codeigniter4/system/Test/bootstrap.php" backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
3 |
| - <coverage includeUncoveredFiles="true" processUncoveredFiles="true"> |
4 |
| - <include> |
5 |
| - <directory suffix=".php">./src</directory> |
6 |
| - </include> |
7 |
| - <exclude> |
8 |
| - <directory suffix=".php">./src/Views</directory> |
9 |
| - <file>./src/Config/Routes.php</file> |
10 |
| - </exclude> |
11 |
| - <report> |
12 |
| - <clover outputFile="build/logs/clover.xml"/> |
13 |
| - <html outputDirectory="build/logs/html"/> |
14 |
| - <php outputFile="build/logs/coverage.serialized"/> |
15 |
| - <text outputFile="php://stdout" showUncoveredFiles="false"/> |
16 |
| - </report> |
17 |
| - </coverage> |
18 |
| - <testsuites> |
19 |
| - <testsuite name="app"> |
20 |
| - <directory>./tests</directory> |
21 |
| - </testsuite> |
22 |
| - </testsuites> |
23 |
| - <logging> |
24 |
| - <testdoxHtml outputFile="build/logs/testdox.html"/> |
25 |
| - <testdoxText outputFile="build/logs/testdox.txt"/> |
26 |
| - <junit outputFile="build/logs/logfile.xml"/> |
27 |
| - </logging> |
28 |
| - <php> |
29 |
| - <server name="app.baseURL" value="http://example.com"/> |
30 |
| - <!-- Directory containing phpunit.xml --> |
31 |
| - <const name="HOMEPATH" value="./"/> |
32 |
| - <!-- Directory containing the Paths config file --> |
33 |
| - <const name="CONFIGPATH" value="./vendor/codeigniter4/codeigniter4/app/Config/"/> |
34 |
| - <!-- Directory containing the front controller (index.php) --> |
35 |
| - <const name="PUBLICPATH" value="./vendor/codeigniter4/codeigniter4/public/"/> |
36 |
| - <!-- https://getcomposer.org/xdebug --> |
37 |
| - <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
38 |
| - <!-- Database configuration --> |
39 |
| - <!-- <env name="database.tests.hostname" value="localhost"/> --> |
40 |
| - <!-- <env name="database.tests.database" value="tests"/> --> |
41 |
| - <!-- <env name="database.tests.username" value="tests_user"/> --> |
42 |
| - <!-- <env name="database.tests.password" value=""/> --> |
43 |
| - <!-- <env name="database.tests.DBDriver" value="MySQLi"/> --> |
44 |
| - <!-- <env name="database.tests.DBPrefix" value="tests_"/> --> |
45 |
| - </php> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + bootstrap="vendor/codeigniter4/codeigniter4/system/Test/bootstrap.php" |
| 4 | + backupGlobals="false" |
| 5 | + colors="true" |
| 6 | + convertErrorsToExceptions="true" |
| 7 | + convertNoticesToExceptions="true" |
| 8 | + convertWarningsToExceptions="true" |
| 9 | + executionOrder="random" |
| 10 | + stopOnError="false" |
| 11 | + stopOnFailure="false" |
| 12 | + stopOnIncomplete="false" |
| 13 | + stopOnSkipped="false" |
| 14 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
| 15 | + |
| 16 | + <coverage includeUncoveredFiles="true" processUncoveredFiles="true"> |
| 17 | + <include> |
| 18 | + <directory suffix=".php">./src</directory> |
| 19 | + </include> |
| 20 | + <exclude> |
| 21 | + <directory suffix=".php">./src/Views</directory> |
| 22 | + <file>./src/Config/Routes.php</file> |
| 23 | + </exclude> |
| 24 | + <report> |
| 25 | + <clover outputFile="build/phpunit/clover.xml"/> |
| 26 | + <html outputDirectory="build/phpunit/html"/> |
| 27 | + <php outputFile="build/phpunit/coverage.serialized"/> |
| 28 | + <text outputFile="php://stdout" showUncoveredFiles="false"/> |
| 29 | + <xml outputDirectory="build/phpunit/xml-coverage"/> |
| 30 | + </report> |
| 31 | + </coverage> |
| 32 | + |
| 33 | + <testsuites> |
| 34 | + <testsuite name="app"> |
| 35 | + <directory>./tests</directory> |
| 36 | + </testsuite> |
| 37 | + </testsuites> |
| 38 | + |
| 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 | + |
| 45 | + <php> |
| 46 | + <env name="XDEBUG_MODE" value="coverage"/> |
| 47 | + <server name="app.baseURL" value="http://example.com"/> |
| 48 | + |
| 49 | + <!-- Directory containing phpunit.xml --> |
| 50 | + <const name="HOMEPATH" value="./"/> |
| 51 | + |
| 52 | + <!-- Directory containing the Paths config file --> |
| 53 | + <const name="CONFIGPATH" value="./vendor/codeigniter4/codeigniter4/app/Config/"/> |
| 54 | + |
| 55 | + <!-- Directory containing the front controller (index.php) --> |
| 56 | + <const name="PUBLICPATH" value="./vendor/codeigniter4/codeigniter4/public/"/> |
| 57 | + |
| 58 | + <!-- https://getcomposer.org/xdebug --> |
| 59 | + <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
| 60 | + |
| 61 | + <!-- Database configuration --> |
| 62 | + <!-- Uncomment to use alternate testing database configuration |
| 63 | + <env name="database.tests.hostname" value="localhost"/> |
| 64 | + <env name="database.tests.database" value="tests"/> |
| 65 | + <env name="database.tests.username" value="tests_user"/> |
| 66 | + <env name="database.tests.password" value=""/> |
| 67 | + <env name="database.tests.DBDriver" value="MySQLi"/> |
| 68 | + <env name="database.tests.DBPrefix" value="tests_"/> |
| 69 | + --> |
| 70 | + </php> |
46 | 71 | </phpunit>
|
0 commit comments