Translated using Weblate (Slovenian)
[phpmyadmin.git] / phpunit.xml.dist
blob76a94195f9a1af5383398a4dd9c9abe83eea9adc
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="test/bootstrap-dist.php"
3 backupGlobals="true"
4 backupStaticAttributes="false"
5 strict="true"
6 timeoutForSmallTests="3"
7 colors="true"
8 verbose="true">
10 <selenium>
11 <browser name="Firefox on localhost"
12 browser="firefox"
13 host="127.0.0.1"
14 port="4444"
15 timeout="30000"/>
16 </selenium>
18 <testsuites>
19 <testsuite name="Classes">
20 <directory suffix="_test.php">test/classes</directory>
21 </testsuite>
22 <testsuite name="Engines">
23 <directory suffix="_test.php">test/engines</directory>
24 </testsuite>
25 <testsuite name="Unit">
26 <file>test/Environment_test.php</file>
27 <directory suffix="_test.php">test/libraries/core</directory>
28 <directory suffix="_test.php">test/libraries/common</directory>
29 <directory suffix="_test.php">test/libraries/rte</directory>
30 <directory suffix="_test.php">test/libraries</directory>
31 </testsuite>
32 <testsuite name="Selenium">
33 <directory suffix="Test.php">test/selenium</directory>
34 </testsuite>
35 </testsuites>
37 <logging>
38 <log type="coverage-clover" target="build/logs/clover.xml"/>
39 <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
40 </logging>
41 <filter>
42 <whitelist addUncoveredFilesFromWhitelist="true">
43 <directory suffix=".php">.</directory>
44 <exclude>
45 <!-- we don't care about coverage of embedded libraries -->
46 <directory suffix=".php">libraries/tcpdf</directory>
47 <directory suffix=".php">libraries/phpseclib</directory>
48 <directory suffix=".php">libraries/bfShapeFiles</directory>
49 <directory suffix=".php">libraries/php-gettext</directory>
50 <directory suffix=".inc">libraries/php-gettext</directory>
51 <directory suffix=".php">libraries/plugins/auth/swekey/</directory>
52 <!-- code sniffer checker -->
53 <directory suffix=".php">PMAStandard</directory>
54 <!-- examples for users -->
55 <directory suffix=".php">examples</directory>
56 <!-- maintenance scripts -->
57 <directory suffix=".php">scripts</directory>
58 </exclude>
59 </whitelist>
60 </filter>
61 </phpunit>