phpunit.xml.dist 1.2 KB

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