Translated using Weblate (Estonian)
[phpmyadmin.git] / phpunit.xml.dist
blobab6d82156b94f739eb80354be84d683bdfd522b4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="test/bootstrap-dist.php"
3 backupGlobals="true"
4 backupStaticAttributes="false"
5 colors="true"
6 verbose="true">
8 <selenium>
9 <browser name="Firefox on localhost"
10 browser="firefox"
11 host="127.0.0.1"
12 port="4444"
13 timeout="30000"/>
14 </selenium>
16 <testsuites>
17 <testsuite name="Classes">
18 <directory suffix="Test.php">test/classes</directory>
19 </testsuite>
20 <testsuite name="Engines">
21 <directory suffix="_test.php">test/engines</directory>
22 </testsuite>
23 <testsuite name="Unit">
24 <file>test/Environment_test.php</file>
25 <directory suffix="_test.php">test/libraries/core</directory>
26 <directory suffix="_test.php">test/libraries/common</directory>
27 <directory suffix="_test.php">test/libraries/rte</directory>
28 <directory suffix="_test.php">test/libraries</directory>
29 </testsuite>
30 <testsuite name="Selenium">
31 <directory suffix="Test.php">test/selenium</directory>
32 </testsuite>
33 </testsuites>
35 <logging>
36 <log type="coverage-clover" target="build/logs/clover.xml"/>
37 <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
38 </logging>
40 <filter>
41 <whitelist addUncoveredFilesFromWhitelist="true">
42 <directory suffix=".php">.</directory>
43 <exclude>
44 <!-- composer packages -->
45 <directory>vendor/</directory>
46 <!-- excluding the tests from the coverage -->
47 <directory>test/</directory>
48 <!-- examples for users -->
49 <directory suffix=".php">examples</directory>
50 <!-- maintenance scripts -->
51 <directory suffix=".php">scripts</directory>
52 </exclude>
53 </whitelist>
54 </filter>
55 </phpunit>