phpunit.xml.dist 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit
  3. colors="true"
  4. processIsolation="false"
  5. stopOnFailure="false"
  6. syntaxCheck="false"
  7. bootstrap="./tests/bootstrap.php"
  8. >
  9. <php>
  10. <ini name="memory_limit" value="-1"/>
  11. <ini name="apc.enable_cli" value="1"/>
  12. </php>
  13. <!-- Add any additional test suites you want to run here -->
  14. <testsuites>
  15. <testsuite name="App Test Suite">
  16. <directory>./tests/TestCase</directory>
  17. </testsuite>
  18. <!-- Add plugin test suites here. -->
  19. </testsuites>
  20. <!-- Setup a listener for fixtures -->
  21. <listeners>
  22. <listener
  23. class="\Cake\TestSuite\Fixture\FixtureInjector"
  24. file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php">
  25. <arguments>
  26. <object class="\Cake\TestSuite\Fixture\FixtureManager" />
  27. </arguments>
  28. </listener>
  29. </listeners>
  30. <!-- Ignore vendor tests in code coverage reports -->
  31. <filter>
  32. <whitelist>
  33. <directory suffix=".php">./src/</directory>
  34. <directory suffix=".php">./plugins/*/src/</directory>
  35. </whitelist>
  36. </filter>
  37. </phpunit>