|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit bootstrap="vendor/codeigniter4/codeigniter4/system/Test/bootstrap.php" |
3 | | - backupGlobals="false" |
4 | | - colors="true" |
5 | | - convertErrorsToExceptions="true" |
6 | | - convertNoticesToExceptions="true" |
7 | | - convertWarningsToExceptions="true" |
8 | | - stopOnError="false" |
9 | | - stopOnFailure="false" |
10 | | - stopOnIncomplete="false" |
11 | | - stopOnSkipped="false"> |
12 | | - <testsuites> |
13 | | - <testsuite name="app"> |
14 | | - <directory>./tests</directory> |
15 | | - </testsuite> |
16 | | - </testsuites> |
17 | | - |
18 | | - <filter> |
19 | | - <whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true"> |
20 | | - <directory suffix=".php">./src</directory> |
21 | | - <exclude> |
22 | | - <directory suffix=".php">./src/Views</directory> |
23 | | - <file>./src/Config/Routes.php</file> |
24 | | - </exclude> |
25 | | - </whitelist> |
26 | | - </filter> |
27 | | - |
28 | | - <logging> |
29 | | - <log type="coverage-html" target="build/logs/html"/> |
30 | | - <log type="coverage-clover" target="build/logs/clover.xml"/> |
31 | | - <log type="coverage-php" target="build/logs/coverage.serialized"/> |
32 | | - <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/> |
33 | | - <log type="testdox-html" target="build/logs/testdox.html"/> |
34 | | - <log type="testdox-text" target="build/logs/testdox.txt"/> |
35 | | - <log type="junit" target="build/logs/logfile.xml"/> |
36 | | - </logging> |
37 | | - |
38 | | - <php> |
39 | | - <server name="app.baseURL" value="http://example.com"/> |
40 | | - |
41 | | - <!-- Directory containing phpunit.xml --> |
42 | | - <const name="HOMEPATH" value="./"/> |
43 | | - |
44 | | - <!-- Directory containing the Paths config file --> |
45 | | - <const name="CONFIGPATH" value="./vendor/codeigniter4/codeigniter4/app/Config/"/> |
46 | | - |
47 | | - <!-- Directory containing the front controller (index.php) --> |
48 | | - <const name="PUBLICPATH" value="./vendor/codeigniter4/codeigniter4/public/"/> |
49 | | - |
50 | | - <!-- https://getcomposer.org/xdebug --> |
51 | | - <env name="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/> |
52 | | - |
53 | | - <!-- Database configuration --> |
54 | | -<!-- <env name="database.tests.hostname" value="localhost"/> --> |
55 | | -<!-- <env name="database.tests.database" value="tests"/> --> |
56 | | -<!-- <env name="database.tests.username" value="tests_user"/> --> |
57 | | -<!-- <env name="database.tests.password" value=""/> --> |
58 | | -<!-- <env name="database.tests.DBDriver" value="MySQLi"/> --> |
59 | | -<!-- <env name="database.tests.DBPrefix" value="tests_"/> --> |
60 | | - </php> |
| 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> |
61 | 46 | </phpunit> |
0 commit comments