phpunit.xml.dist 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
  4. bootstrap="vendor/autoload.php"
  5. cacheResultFile=".build/phpunit.result.cache"
  6. colors="true"
  7. verbose="true"
  8. >
  9. <testsuites>
  10. <testsuite name="php-qrcode test suite">
  11. <directory suffix=".php">./tests/</directory>
  12. </testsuite>
  13. </testsuites>
  14. <coverage processUncoveredFiles="true">
  15. <include>
  16. <directory suffix=".php">./src</directory>
  17. </include>
  18. <report>
  19. <clover outputFile=".build/coverage/clover.xml"/>
  20. <xml outputDirectory=".build/coverage/coverage-xml"/>
  21. </report>
  22. </coverage>
  23. <logging>
  24. <junit outputFile=".build/logs/junit.xml"/>
  25. </logging>
  26. <!--
  27. <groups>
  28. <exclude>
  29. <group>slow</group>
  30. </exclude>
  31. </groups>
  32. -->
  33. <php>
  34. <!-- whether the test runs on CI - set to false to allow debug output -->
  35. <const name="TEST_IS_CI" value="true"/>
  36. <!-- limit the maximum version for the reader test to speed up things -->
  37. <const name="READER_TEST_MAX_VERSION" value="40"/>
  38. </php>
  39. </phpunit>