phpunit.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="vendor/autoload.php"
  5. colors="true"
  6. convertErrorsToExceptions="true"
  7. convertNoticesToExceptions="true"
  8. convertWarningsToExceptions="true"
  9. processIsolation="false"
  10. stopOnFailure="false"
  11. verbose="true"
  12. printerClass="clagiordano\PhpunitResultPrinter\ResultPrinter"
  13. >
  14. <testsuites>
  15. <testsuite name="Package Test Suite">
  16. <directory suffix=".php">./tests/</directory>
  17. </testsuite>
  18. </testsuites>
  19. <filter>
  20. <whitelist>
  21. <directory suffix=".php">src/</directory>
  22. </whitelist>
  23. </filter>
  24. <php>
  25. <ini name="display_errors" value="On"/>
  26. <ini name="error_reporting" value="E_ALL"/>
  27. <ini name="display_startup_errors" value="On"/>
  28. </php>
  29. <logging>
  30. <log type="coverage-html" target="build/coverage/"/>
  31. <log type="coverage-clover" target="build/logs/clover.xml"/>
  32. <log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
  33. <log type="junit" target="build/logs/junit.xml"/>
  34. <log type="coverage-text" target="php://stdout" showUncoveredFiles="true" />
  35. </logging>
  36. </phpunit>