Translated using Weblate (Russian)
[phpmyadmin.git] / phpunit.xml.dist
blob3177bf201b3609da35bdf0564108c169cee18d3b
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 <!-- excluding the tests from the coverage -->
45 <directory>test/</directory>
46 <!-- we don't care about coverage of embedded libraries -->
47 <directory suffix=".inc">libraries/php-gettext</directory>
48 <directory suffix=".php">libraries/bfShapeFiles</directory>
49 <directory suffix=".php">libraries/php-gettext</directory>
50 <directory suffix=".php">libraries/phpseclib</directory>
51 <directory suffix=".php">libraries/plugins/auth/swekey/</directory>
52 <directory suffix=".php">libraries/sql-parser</directory>
53 <directory suffix=".php">libraries/tcpdf</directory>
54 <!-- code sniffer checker -->
55 <directory suffix=".php">PMAStandard</directory>
56 <!-- examples for users -->
57 <directory suffix=".php">examples</directory>
58 <!-- maintenance scripts -->
59 <directory suffix=".php">scripts</directory>
60 </exclude>
61 </whitelist>
62 </filter>
63 </phpunit>