phpunit.xml.dist 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="tests/bootstrap.php"
  3. colors="true"
  4. beStrictAboutTestSize="true"
  5. beStrictAboutTestsThatDoNotTestAnything="true">
  6. <testsuites>
  7. <testsuite name="Predis Test Suite">
  8. <directory>tests/Predis/</directory>
  9. </testsuite>
  10. </testsuites>
  11. <groups>
  12. <exclude>
  13. <group>ext-phpiredis</group>
  14. <group>ext-curl</group>
  15. <group>realm-webdis</group>
  16. <!-- <group>connected</group> -->
  17. <!-- <group>disconnected</group> -->
  18. <!-- <group>commands</group> -->
  19. <!-- <group>slow</group> -->
  20. </exclude>
  21. </groups>
  22. <filter>
  23. <whitelist>
  24. <directory suffix=".php">src/</directory>
  25. </whitelist>
  26. </filter>
  27. <php>
  28. <!-- Redis -->
  29. <const name="REDIS_SERVER_VERSION" value="2.8" />
  30. <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
  31. <const name="REDIS_SERVER_PORT" value="6379" />
  32. <const name="REDIS_SERVER_DBNUM" value="15" />
  33. <!-- Webdis -->
  34. <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
  35. <const name="WEBDIS_SERVER_PORT" value="7379" />
  36. </php>
  37. </phpunit>