菜谱项目

phpunit.xml.dist 1.3KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="vendor/autoload.php"
  3. backupGlobals="false"
  4. backupStaticAttributes="false"
  5. colors="true"
  6. verbose="true"
  7. convertErrorsToExceptions="true"
  8. convertNoticesToExceptions="true"
  9. convertWarningsToExceptions="true"
  10. processIsolation="false"
  11. stopOnFailure="false">
  12. <testsuites>
  13. <testsuite name="League Test Suite">
  14. <directory>tests</directory>
  15. </testsuite>
  16. </testsuites>
  17. <filter>
  18. <whitelist>
  19. <directory suffix=".php">src/</directory>
  20. <exclude>
  21. <file>src/Providers/JWTAuthServiceProvider.php</file>
  22. <directory suffix=".php">src/config/</directory>
  23. <directory suffix=".php">src/Facades/</directory>
  24. </exclude>
  25. </whitelist>
  26. </filter>
  27. <logging>
  28. <log type="tap" target="build/report.tap"/>
  29. <log type="junit" target="build/report.junit.xml"/>
  30. <log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
  31. <log type="coverage-text" target="build/coverage.txt"/>
  32. <log type="coverage-clover" target="build/logs/clover.xml"/>
  33. </logging>
  34. </phpunit>