phpunit.xml.dist 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- http://phpunit.de/manual/current/en/appendixes.configuration.html -->
  3. <phpunit
  4. backupGlobals = "false"
  5. backupStaticAttributes = "false"
  6. colors = "true"
  7. convertErrorsToExceptions = "true"
  8. convertNoticesToExceptions = "true"
  9. convertWarningsToExceptions = "true"
  10. processIsolation = "false"
  11. stopOnFailure = "false"
  12. syntaxCheck = "false"
  13. bootstrap = "bootstrap.php.cache" >
  14. <testsuites>
  15. <testsuite name="Project Test Suite">
  16. <directory>../src/*/*Bundle/Tests</directory>
  17. <directory>../src/*/Bundle/*Bundle/Tests</directory>
  18. </testsuite>
  19. </testsuites>
  20. <!--
  21. <php>
  22. <server name="KERNEL_DIR" value="/path/to/your/app/" />
  23. </php>
  24. -->
  25. <filter>
  26. <whitelist>
  27. <directory>../src</directory>
  28. <exclude>
  29. <directory>../src/*/*Bundle/Resources</directory>
  30. <directory>../src/*/*Bundle/Tests</directory>
  31. <directory>../src/*/Bundle/*Bundle/Resources</directory>
  32. <directory>../src/*/Bundle/*Bundle/Tests</directory>
  33. </exclude>
  34. </whitelist>
  35. </filter>
  36. </phpunit>