Translated using Weblate (Thai)
[phpmyadmin.git] / phpunit.xml.dist
blob36a109d68a576ee9d870721985519e58f1630949
1 <?xml version="1.0" encoding="UTF-8"?>
2 <phpunit bootstrap="test/bootstrap-dist.php"
3 backupGlobals="false"
4 backupStaticAttributes="false"
5 strict="true"
6 colors="true"
7 verbose="true">
9 <selenium>
10 <browser name="Firefox on localhost"
11 browser="*firefox"
12 host="127.0.0.1"
13 port="4444"
14 timeout="30000"/>
15 </selenium>
17 <php>
18 <const name="TESTSUITE_SERVER" value="localhost"/>
19 <const name="TESTSUITE_USER" value="root"/>
20 <const name="TESTSUITE_PASSWORD" value=""/>
21 <const name="TESTSUITE_DATABASE" value="test"/>
22 <const name="TESTSUITE_PHPMYADMIN_HOST" value="http://localhost" />
23 <const name="TESTSUITE_PHPMYADMIN_URL" value="/phpmyadmin" />
24 </php>
26 <testsuites>
27 <testsuite name="Classes">
28 <directory suffix="_test.php">test/classes</directory>
29 </testsuite>
30 <testsuite name="Engines">
31 <directory suffix="_test.php">test/engines</directory>
32 </testsuite>
33 <testsuite name="Unit">
34 <file>test/Environment_test.php</file>
35 <directory suffix="_test.php">test/libraries/core</directory>
36 <directory suffix="_test.php">test/libraries/common</directory>
37 <directory suffix="_test.php">test/libraries/rte</directory>
38 <directory suffix="_test.php">test/libraries</directory>
39 </testsuite>
40 <!--<testsuite name="Selenium">-->
41 <!--<directory suffix="Test.php">test/selenium</directory>-->
42 <!--</testsuite>-->
43 </testsuites>
45 <logging>
46 <log type="coverage-html" target="build/coverage" title="phpMyAdmin"
47 charset="UTF-8" yui="true" highlight="true"
48 lowUpperBound="35" highLowerBound="70"/>
49 <log type="coverage-clover" target="build/logs/clover.xml"/>
50 <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
51 </logging>
52 <filter>
53 <!-- we don't care about coverage of embedded libraries -->
54 <blacklist>
55 <directory suffix=".php">libraries/tcpdf</directory>
56 <directory suffix=".php">libraries/bfShapeFiles</directory>
57 <directory suffix=".php">libraries/php-gettext</directory>
58 <directory suffix=".inc">libraries/php-gettext</directory>
59 </blacklist>
60 </filter>
61 </phpunit>