-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
24 lines (24 loc) · 1.03 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<phpunit colors="true" bootstrap="vendor/autoload.php">
<filter>
<whitelist>
<!-- The name of the folder to use for code coverage -->
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<!-- Types of testing logs -->
<log type="testdox-html" target="tests/build/testdox.html"/>
<log type="tap" target="tests/build/report.tap"/>
<log type="junit" target="tests/build/report.junit.xml"/>
<log type="coverage-html" target="tests/build/coverage"/>
<log type="coverage-text" target="tests/build/coverage.txt"/>
<log type="coverage-clover" target="tests/build/logs/clover.xml"/>
</logging>
<testsuites>
<testsuite name="mongo-sanitize-test-suite">
<!-- Directory where tests are stored -->
<directory suffix="Test.php">tests/unit/</directory>
<!-- Compiled code coverage results will be stored in the tests/build directory -->
</testsuite>
</testsuites>
</phpunit>