|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit bootstrap="tests/_support/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"> |
| 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 | 12 | <testsuites> |
13 | | - <testsuite name="all"> |
| 13 | + <testsuite name="app"> |
14 | 14 | <directory>./tests</directory> |
15 | 15 | </testsuite> |
16 | 16 | </testsuites> |
|
24 | 24 | </exclude> |
25 | 25 | </whitelist> |
26 | 26 | </filter> |
27 | | - |
| 27 | + |
28 | 28 | <logging> |
29 | 29 | <log type="coverage-html" target="build/logs/html"/> |
30 | 30 | <log type="coverage-clover" target="build/logs/clover.xml"/> |
|
36 | 36 | </logging> |
37 | 37 |
|
38 | 38 | <php> |
39 | | - <env name="app.baseURL" value="http://example.com"/> |
40 | | - <env name="CI_ENVIRONMENT" value="testing"/> |
| 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 --> |
41 | 54 | <!-- <env name="database.tests.hostname" value="localhost"/> --> |
42 | 55 | <!-- <env name="database.tests.database" value="tests"/> --> |
43 | 56 | <!-- <env name="database.tests.username" value="tests_user"/> --> |
|
0 commit comments