diff options
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r-- | phpunit.xml.dist | 39 |
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> |