summaryrefslogtreecommitdiff
path: root/phpunit_mysql.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit_mysql.xml')
-rw-r--r--phpunit_mysql.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/phpunit_mysql.xml b/phpunit_mysql.xml
new file mode 100644
index 0000000..1e51cc1
--- /dev/null
+++ b/phpunit_mysql.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit bootstrap="tests/bootstrap.php" colors="true" backupGlobals="false">
+<php>
+ <var name="db_dsn" value="mysql:dbname=flyspray_test;host=localhost"/>
+ <var name="dbtype" value="mysqli"/>
+ <var name="dbhost" value="localhost"/>
+ <var name="dbname" value="flyspray_test"/>
+ <var name="dbuser" value="root"/>
+ <var name="dbpass" value=""/>
+ <var name="dbprefix" value="flyspray_"/>
+</php>
+<testsuites>
+ <testsuite name="Flyspray Test Suite">
+ <directory>./tests/</directory>
+ </testsuite>
+</testsuites>
+<filter>
+ <whitelist>
+ <directory>./</directory>
+ <exclude>
+ <directory>./tests</directory>
+ <directory>./vendor</directory>
+ </exclude>
+ </whitelist>
+</filter>
+</phpunit>