Merge branch 'QA_4_9' into QA_5_0
[phpmyadmin.git] / phpunit.xml.dist
blobecabd09a5ee39872e47540d21846d0d34537c05c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
4 bootstrap="test/bootstrap-dist.php"
5 backupGlobals="true"
6 backupStaticAttributes="false"
7 colors="true"
8 verbose="true">
10 <testsuites>
11 <testsuite name="Classes">
12 <directory suffix="Test.php">test/classes</directory>
13 </testsuite>
14 <testsuite name="Unit">
15 <file>test/EnvironmentTest.php</file>
16 <directory suffix="Test.php">test/libraries/common</directory>
17 <directory suffix="Test.php">test/libraries</directory>
18 </testsuite>
19 <testsuite name="Selenium">
20 <directory suffix="Test.php">test/selenium</directory>
21 </testsuite>
22 </testsuites>
24 <logging>
25 <log type="coverage-clover" target="build/logs/clover.xml" />
26 <log type="junit" target="build/logs/junit.xml" />
27 </logging>
29 <filter>
30 <whitelist addUncoveredFilesFromWhitelist="true">
31 <directory suffix=".php">.</directory>
32 <exclude>
33 <!-- composer packages -->
34 <directory>vendor/</directory>
35 <!-- excluding the tests from the coverage -->
36 <directory>test/</directory>
37 <!-- excluding the twig cache from the coverage -->
38 <directory>tmp/</directory>
39 <!-- examples for users -->
40 <directory suffix=".php">examples</directory>
41 </exclude>
42 </whitelist>
43 </filter>
44 </phpunit>