mirror of
https://github.com/predis/predis.git
synced 2026-08-23 21:49:40 +00:00
2c1f349925
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.
23 lines
612 B
XML
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>
|