Files
predis/phpunit.xml.dist
T
Daniele Alessandri 2c1f349925 [test] Use phpunit to specify the parameters of the server used by the suite.
This is especially handy because users can now easily override them without
modifying the source code of the test suite and just by creating a phpunit.xml
file that is automatically picked up by phpunit over the phpunit.xml.dist file
shipped within the repository.
2011-11-18 20:54:58 +01:00

23 lines
612 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="test/bootstrap.php">
<testsuites>
<testsuite name="Predis Test Suite">
<directory>test/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">lib/Predis/</directory>
</whitelist>
</filter>
<php>
<const name="TEST_SERVER_VERSION" value="2.2" />
<const name="TEST_SERVER_HOST" value="127.0.0.1" />
<const name="TEST_SERVER_PORT" value="6379" />
<const name="TEST_SERVER_DBNUM" value="15" />
</php>
</phpunit>