-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
29 lines (27 loc) · 1.19 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
25
26
27
28
29
<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="PHP Reflection Utils">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">./</directory>
<exclude>
<!-- Not our code -->
<directory>./vendor</directory>
<!-- Don't test tests -->
<directory>./tests</directory>
<directory>./test-results</directory>
<!-- Won't contain any php code but take a while to scan -->
<directory>./.git</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="junit" target="./test-results/phpunit-junit.xml" logIncompleteSkipped="true" />
<log type="coverage-clover" target="./test-results/phpunit-clover.xml" />
<log type="coverage-html" target="./test-results/phpunit-html" lowUpperBound="35" highLowerBound="70" />
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true" />
</logging>
</phpunit>