phpunit.xml.dist 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. </whitelist>
  21. </filter>
  22. <listeners>
  23. <listener class='Mockery\Adapter\Phpunit\TestListener' />
  24. </listeners>
  25. <logging>
  26. <log type="tap" target="build/report.tap"/>
  27. <log type="junit" target="build/report.junit.xml"/>
  28. <log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
  29. <log type="coverage-text" target="build/coverage.txt"/>
  30. <log type="coverage-clover" target="build/logs/clover.xml"/>
  31. </logging>
  32. </phpunit>