|
2 | 2 | <phpunit bootstrap="tests/bootstrap.php" |
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" |
| 5 | + failOnDeprecation="true" |
| 6 | + failOnNotice="true" |
| 7 | + failOnPhpunitDeprecation="true" |
| 8 | + failOnIncomplete="true" |
| 9 | + failOnEmptyTestSuite="true" |
| 10 | + failOnRisky="true" |
| 11 | + failOnSkipped="true" |
| 12 | + failOnWarning="true" |
5 | 13 | > |
6 | | - <!-- Test Suite Configuration --> |
7 | 14 | <testsuites> |
8 | 15 | <testsuite name="Application Test Suite"> |
9 | | - <directory>./tests</directory> <!-- Path to your tests directory --> |
| 16 | + <directory>./tests</directory> |
| 17 | + </testsuite> |
| 18 | + <testsuite name="Unit"> |
| 19 | + <directory>./tests/Unit</directory> |
| 20 | + </testsuite> |
| 21 | + <testsuite name="Integration"> |
| 22 | + <directory>./tests/Integration</directory> |
10 | 23 | </testsuite> |
11 | 24 | </testsuites> |
12 | 25 |
|
13 | | - <coverage processUncoveredFiles="true"> |
14 | | - <include> |
15 | | - <directory suffix=".php">src</directory> |
16 | | - </include> |
| 26 | + <coverage includeUncoveredFiles="true" pathCoverage="true"> |
| 27 | + <report> |
| 28 | + <html outputDirectory="coverage/html" lowUpperBound="50" highLowerBound="90"/> |
| 29 | + <crap4j outputFile="coverage/crap4j.xml" threshold="50"/> |
| 30 | + <clover outputFile="coverage/clover.xml"/> |
| 31 | + <php outputFile="coverage/coverage.php"/> |
| 32 | + </report> |
17 | 33 | </coverage> |
18 | 34 |
|
19 | | -<!-- |
20 | | - <!– Logging –> |
21 | | - <logging> |
22 | | - <log type="testdox" target="php://stdout" /> |
23 | | - </logging> |
24 | | ---> |
25 | | - |
| 35 | + <php> |
26 | 36 | <!-- <env name="NEO4J_ADDRESS" value="<put your address here>"/>--> |
27 | 37 | <!-- <env name="NEO4J_USERNAME" value="<put your name here>"/>--> |
28 | 38 | <!-- <env name="NEO4J_PASSWORD" value="<put your password here>"/>--> |
29 | | - <!-- No need to set sensitive information here --> |
| 39 | + </php> |
30 | 40 | </phpunit> |
0 commit comments