phpunit.xml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd"
  4. colors="true"
  5. beStrictAboutTestsThatDoNotTestAnything="true"
  6. beStrictAboutOutputDuringTests="true"
  7. beStrictAboutChangesToGlobalState="true"
  8. failOnRisky="true"
  9. failOnWarning="true"
  10. >
  11. <testsuites>
  12. <testsuite name="unit">
  13. <directory>tests</directory>
  14. </testsuite>
  15. </testsuites>
  16. <!-- Filter for coverage reports. -->
  17. <coverage
  18. includeUncoveredFiles="true"
  19. ignoreDeprecatedCodeUnits="true">
  20. </coverage>
  21. <source ignoreIndirectDeprecations="true">
  22. <include>
  23. <directory suffix=".php">src</directory>
  24. </include>
  25. <exclude>
  26. <directory>vendor</directory>
  27. </exclude>
  28. </source>
  29. <php>
  30. <ini name="precision" value="14"/>
  31. <ini name="serialize_precision" value="14"/>
  32. <const name="PHPUNIT_TESTSUITE" value="true"/>
  33. </php>
  34. </phpunit>