summaryrefslogtreecommitdiffstats
path: root/phpunit.xml.dist
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-06-05 09:11:23 +0200
committerRemi Collet <fedora@famillecollet.com>2013-06-05 09:11:23 +0200
commita2980a491d220dbbb805adef190d8a2f2c18ddaa (patch)
tree9401a5b1a35b782140debae79f842d77600f246e /phpunit.xml.dist
parent3c5033dc15d0d9a8ce5d66524f82abbc26b726d7 (diff)
php-nrk-Predis: cleanups
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist39
1 files changed, 39 insertions, 0 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
new file mode 100644
index 0000000..1a6a012
--- /dev/null
+++ b/phpunit.xml.dist
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit bootstrap="tests/bootstrap.php" colors="true" strict="true">
+ <testsuites>
+ <testsuite name="Predis Test Suite">
+ <directory>tests/Predis/</directory>
+ </testsuite>
+ </testsuites>
+
+ <groups>
+ <exclude>
+ <group>ext-phpiredis</group>
+ <group>ext-curl</group>
+ <group>realm-webdis</group>
+ <!-- <group>connected</group> -->
+ <!-- <group>disconnected</group> -->
+ <!-- <group>commands</group> -->
+ <!-- <group>slow</group> -->
+ </exclude>
+ </groups>
+
+ <filter>
+ <whitelist>
+ <directory suffix=".php">lib/Predis/</directory>
+ </whitelist>
+ </filter>
+
+ <php>
+ <!-- Redis -->
+ <const name="REDIS_SERVER_VERSION" value="2.6" />
+ <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
+ <const name="REDIS_SERVER_PORT" value="6379" />
+ <const name="REDIS_SERVER_DBNUM" value="15" />
+
+ <!-- Webdis -->
+ <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
+ <const name="WEBDIS_SERVER_PORT" value="7379" />
+ </php>
+</phpunit>