Translated using Weblate (Portuguese)
[phpmyadmin.git] / phpunit.xml.dist
blob7c3e5ba0ce5b8c16be3fd445b441116e967cfbb7
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 <log type="json" target="build/logs/phpunit.json" />
39 </logging>
41 <filter>
42 <whitelist addUncoveredFilesFromWhitelist="true">
43 <directory suffix=".php">.</directory>
44 <exclude>
45 <!-- composer packages -->
46 <directory>vendor/</directory>
47 <!-- excluding the tests from the coverage -->
48 <directory>test/</directory>
49 <!-- excluding the twig cache from the coverage -->
50 <directory>tmp/</directory>
51 <!-- examples for users -->
52 <directory suffix=".php">examples</directory>
53 </exclude>
54 </whitelist>
55 </filter>
56 </phpunit>