phpunit.xml 921 B

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
  4. colors="true"
  5. verbose="true"
  6. cacheResultFile=".phpunit.cache/test-results"
  7. failOnRisky="true"
  8. failOnWarning="true">
  9. <testsuites>
  10. <testsuite name="unit">
  11. <directory>tests</directory>
  12. </testsuite>
  13. </testsuites>
  14. <coverage cacheDirectory=".phpunit.cache/code-coverage"
  15. processUncoveredFiles="true"
  16. ignoreDeprecatedCodeUnits="true">
  17. <include>
  18. <directory suffix=".php">src</directory>
  19. </include>
  20. <exclude>
  21. <directory>vendor</directory>
  22. </exclude>
  23. </coverage>
  24. <php>
  25. <ini name="precision" value="14"/>
  26. <ini name="serialize_precision" value="14"/>
  27. <const name="PHPUNIT_TESTSUITE" value="true"/>
  28. </php>
  29. </phpunit>