phpunit.xml.dist 1.4 KB

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