forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
43 lines (40 loc) · 1.54 KB
/
phpunit.xml.dist
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="test/bootstrap-dist.php"
backupGlobals="true"
backupStaticAttributes="false"
colors="true"
verbose="true">
<testsuites>
<testsuite name="Classes">
<directory suffix="Test.php">test/classes</directory>
</testsuite>
<testsuite name="Unit">
<file>test/EnvironmentTest.php</file>
<directory suffix="Test.php">test/libraries/common</directory>
<directory suffix="Test.php">test/libraries</directory>
</testsuite>
<testsuite name="Selenium">
<directory suffix="Test.php">test/selenium</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="junit" target="build/logs/junit.xml" />
<log type="json" target="build/logs/phpunit.json" />
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
<!-- composer packages -->
<directory>vendor/</directory>
<!-- excluding the tests from the coverage -->
<directory>test/</directory>
<!-- excluding the twig cache from the coverage -->
<directory>tmp/</directory>
<!-- examples for users -->
<directory suffix=".php">examples</directory>
</exclude>
</whitelist>
</filter>
</phpunit>