|
1 | | -<?xml version="1.0"?> |
2 | | -<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
3 | | - <coverage includeUncoveredFiles="true"> |
4 | | - <include> |
5 | | - <directory suffix=".php">src/</directory> |
6 | | - </include> |
7 | | - <exclude> |
8 | | - <directory suffix=".php">tests/</directory> |
9 | | - </exclude> |
10 | | - <report> |
11 | | - <clover outputFile="clover.xml"/> |
12 | | - </report> |
13 | | - </coverage> |
14 | | - <testsuite name="Default"> |
15 | | - <directory>tests/</directory> |
16 | | - </testsuite> |
17 | | - <logging/> |
18 | | - <php> |
19 | | - <includePath>app/code</includePath> |
20 | | - <env name="SS_DATABASE_CLASS" value="SQLite3Database"/> |
21 | | - <env name="SS_SQLITE_DATABASE_PATH" value=":memory:"/> |
22 | | - <env name="SS_DATABASE_NAME" value="testing"/> |
23 | | - <env name="SS_DATABASE_USERNAME" value=""/> |
24 | | - <env name="SS_DATABASE_PASSWORD" value=""/> |
25 | | - </php> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" |
| 4 | + bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" |
| 5 | + cacheDirectory=".phpunit.cache" |
| 6 | + executionOrder="depends,defects" |
| 7 | + shortenArraysForExportThreshold="10" |
| 8 | + requireCoverageMetadata="false" |
| 9 | + beStrictAboutCoverageMetadata="true" |
| 10 | + beStrictAboutOutputDuringTests="true" |
| 11 | + displayDetailsOnPhpunitDeprecations="true" |
| 12 | + failOnPhpunitDeprecation="true" |
| 13 | + failOnRisky="true" |
| 14 | + failOnWarning="true"> |
| 15 | + |
| 16 | + <testsuites> |
| 17 | + <testsuite name="default"> |
| 18 | + <directory>tests</directory> |
| 19 | + </testsuite> |
| 20 | + </testsuites> |
| 21 | + |
| 22 | + <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> |
| 23 | + <include> |
| 24 | + <directory>src</directory> |
| 25 | + </include> |
| 26 | + </source> |
| 27 | + |
| 28 | + <php> |
| 29 | + <includePath>app/code</includePath> |
| 30 | + <env name="SS_DATABASE_CLASS" value="MySQLDatabase"/> |
| 31 | + <env name="SS_DATABASE_SERVER" value="127.0.0.1"/> |
| 32 | + <env name="SS_DATABASE_NAME" value="silverstripe-imagegallery"/> |
| 33 | + <env name="SS_DATABASE_USERNAME" value="root"/> |
| 34 | + <env name="SS_DATABASE_PASSWORD" value="root"/> |
| 35 | + </php> |
| 36 | + |
26 | 37 | </phpunit> |
0 commit comments