Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

Commit 36d88f2

Browse files
committed
Added phpunit setting file for coverage tests
1 parent 3d5439d commit 36d88f2

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

phpunit.xml.dist

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<phpunit
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
backupGlobals="false"
6+
backupStaticAttributes="false"
7+
beStrictAboutChangesToGlobalState="true"
8+
beStrictAboutOutputDuringTests="true"
9+
beStrictAboutTestsThatDoNotTestAnything="true"
10+
bootstrap="vendor/autoload.php"
11+
colors="true"
12+
columns="max"
13+
convertErrorsToExceptions="true"
14+
convertNoticesToExceptions="true"
15+
convertWarningsToExceptions="true"
16+
processIsolation="false"
17+
stopOnError="false"
18+
stopOnFailure="false"
19+
stopOnRisky="false"
20+
verbose="true"
21+
>
22+
<php>
23+
<ini name="error_reporting" value="E_ALL" />
24+
</php>
25+
26+
<testsuites>
27+
<testsuite name="Accessibility-Checker Coveralls component test suite">
28+
<directory>./tests/</directory>
29+
</testsuite>
30+
</testsuites>
31+
32+
<filter>
33+
<whitelist>
34+
<directory>./src</directory>
35+
<exclude>
36+
<directory>./build</directory>
37+
<directory>./composer</directory>
38+
<directory>./tests</directory>
39+
<directory>./vendor</directory>
40+
</exclude>
41+
</whitelist>
42+
</filter>
43+
44+
<logging>
45+
<log type="coverage-clover" target="build/logs/clover.xml"/>
46+
<log type="junit" target="build/logs/junit.xml"/>
47+
<log type="coverage-php" target="build/cov/coverage.cov"/>
48+
</logging>
49+
</phpunit>

0 commit comments

Comments
 (0)