Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZarubin Stas <zarubin.stas@gmail.com>2011-06-29 21:06:27 +0400
committerZarubin Stas <zarubin.stas@gmail.com>2011-06-29 21:06:27 +0400
commitf7d7102d2fc595f837f778fe18488251bf980229 (patch)
tree186a4a6adf0b66b3b369292e3c2ccb9319afb10e /phpunit.xml.dist
parenteb8caa4b7742cda1816598f4b5cf18f4b0616fce (diff)
- Unit Test grouped by library directory
- Added configuration file phpunit.xml.dist and bootstraper-dist.php - Ignoring phpunit.xml, bootstraper.php and build/
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist36
1 files changed, 36 insertions, 0 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
new file mode 100644
index 0000000000..21e3df0209
--- /dev/null
+++ b/phpunit.xml.dist
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit bootstrap="test/bootstrap-dist.php"
+ backupGlobals="false"
+ backupStaticAttributes="false"
+ strict="true"
+ verbose="true">
+
+ <selenium>
+ <browser name="Firefox on localhost"
+ browser="*firefox"
+ host="127.0.0.1"
+ port="4444"
+ timeout="30000"/>
+ </selenium>
+
+ <testsuites>
+ <testsuite name="Unit">
+ <directory suffix="_test.php">test/libraries/core</directory>
+ <directory suffix="_test.php">test/libraries/common</directory>
+ <directory suffix="_test.php">test/libraries</directory>
+ <file>test/Environment_test.php</file>
+ </testsuite>
+ <testsuite name="Selenium">
+ <directory suffix="Test.php">test/selenium</directory>
+ </testsuite>
+ </testsuites>
+
+ <logging>
+ <log type="coverage-html" target="build/coverage" title="phpMyAdmin"
+ charset="UTF-8" yui="true" highlight="true"
+ lowUpperBound="35" highLowerBound="70"/>
+ <log type="coverage-clover" target="build/logs/clover.xml"/>
+ <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
+ </logging>
+
+</phpunit>