mirror of
https://github.com/predis/predis.git
synced 2026-08-17 21:24:36 +00:00
62b421f20e
This change reduces some unnecessary complexity in the library, Redis commands do not change much after all. Developers can still implement their own commands factory, inject new commands or override existing ones. The "profile" client options has been renamed to "commands" and it accepts instances of Predis\Command\FactoryInterface. The test suite checks at runtime the version of the running instance of Redis for integration tests to adapt itself automatically.
54 lines
1.5 KiB
XML
54 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit bootstrap="tests/bootstrap.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
syntaxCheck="true"
|
|
beStrictAboutTestSize="true"
|
|
beStrictAboutTestsThatDoNotTestAnything="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">src/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<logging>
|
|
<log type="coverage-text" target="php://stdout" />
|
|
</logging>
|
|
|
|
<php>
|
|
<!-- Redis -->
|
|
<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>
|