phpunit.xml.dist 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. cacheDirectory=".build/phpunit-cache"
  6. colors="true"
  7. >
  8. <testsuites>
  9. <testsuite name="php-qrcode test suite">
  10. <directory>tests</directory>
  11. <exclude>tests/samples</exclude>
  12. <exclude>tests/Traits</exclude>
  13. </testsuite>
  14. </testsuites>
  15. <source>
  16. <include>
  17. <directory>src</directory>
  18. </include>
  19. </source>
  20. <coverage>
  21. <report>
  22. <clover outputFile=".build/coverage/clover.xml"/>
  23. <xml outputDirectory=".build/coverage/coverage-xml"/>
  24. </report>
  25. </coverage>
  26. <logging>
  27. <junit outputFile=".build/logs/junit.xml"/>
  28. </logging>
  29. <!--
  30. <groups>
  31. <exclude>
  32. <group>slow</group>
  33. </exclude>
  34. </groups>
  35. -->
  36. <php>
  37. <!-- whether the test runs on CI - set to false to allow debug output -->
  38. <const name="TEST_IS_CI" value="true"/>
  39. <!-- limit the maximum version for the reader test to speed up things -->
  40. <const name="READER_TEST_MAX_VERSION" value="40"/>
  41. <!-- the QR version to display the matrix in when called from the shortcut method in QRMatrixDebugTrait -->
  42. <const name="MATRIX_DEBUG_VERSION" value="7"/>
  43. </php>
  44. </phpunit>