phpunit.xml.dist 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/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>tests</directory>
  12. <exclude>tests/Performance</exclude>
  13. </testsuite>
  14. </testsuites>
  15. <coverage processUncoveredFiles="true">
  16. <include>
  17. <directory>src</directory>
  18. </include>
  19. <report>
  20. <clover outputFile=".build/coverage/clover.xml"/>
  21. <xml outputDirectory=".build/coverage/coverage-xml"/>
  22. </report>
  23. </coverage>
  24. <logging>
  25. <junit outputFile=".build/logs/junit.xml"/>
  26. </logging>
  27. <!--
  28. <groups>
  29. <exclude>
  30. <group>slow</group>
  31. </exclude>
  32. </groups>
  33. -->
  34. <php>
  35. <!-- whether the test runs on CI - set to false to allow debug output -->
  36. <const name="TEST_IS_CI" value="true"/>
  37. <!-- limit the maximum version for the reader test to speed up things -->
  38. <const name="READER_TEST_MAX_VERSION" value="40"/>
  39. <!-- the QR version to display the matrix in when called from the shortcut method in QRMatrixDebugTrait -->
  40. <const name="MATRIX_DEBUG_VERSION" value="7"/>
  41. </php>
  42. </phpunit>