phpunit.xml.dist 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
  3. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
  4. <coverage processUncoveredFiles="true">
  5. <include>
  6. <directory suffix=".php">src</directory>
  7. </include>
  8. <report>
  9. <html outputDirectory="./coverage" lowUpperBound="35" highLowerBound="70"/>
  10. </report>
  11. </coverage>
  12. <php>
  13. <ini name="error_reporting" value="-1"/>
  14. <server name="APP_ENV" value="test" force="true"/>
  15. <server name="SHELL_VERBOSITY" value="-1"/>
  16. <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
  17. <server name="SYMFONY_PHPUNIT_VERSION" value="9.4"/>
  18. </php>
  19. <testsuites>
  20. <testsuite name="Project Test Suite">
  21. <directory>tests</directory>
  22. </testsuite>
  23. </testsuites>
  24. <listeners>
  25. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  26. </listeners>
  27. <logging>
  28. <junit outputFile="./coverage/junit-report.xml"/>
  29. </logging>
  30. </phpunit>