phpunit.xml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="bootstrap/app.php"
  5. colors="true"
  6. convertErrorsToExceptions="true"
  7. convertNoticesToExceptions="true"
  8. convertWarningsToExceptions="true"
  9. processIsolation="false"
  10. stopOnFailure="false"
  11. syntaxCheck="true">
  12. <testsuites>
  13. <testsuite name="ss-panel Test Suite">
  14. <directory>./tests/</directory>
  15. </testsuite>
  16. </testsuites>
  17. <filter>
  18. <whitelist>
  19. <directory suffix=".php">app/</directory>
  20. </whitelist>
  21. </filter>
  22. <php>
  23. <env name="APP_ENV" value="testing"/>
  24. </php>
  25. <logging>
  26. <log type="coverage-html" target="build/coverage"/>
  27. <log type="coverage-clover" target="build/logs/clover.xml"/>
  28. <log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
  29. <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
  30. </logging>
  31. </phpunit>