phpunit.xml.dist 1.2 KB

12345678910111213141516171819202122232425262728293031
  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. <text outputFile="php://stdout" showUncoveredFiles="true" showOnlySummary="true"/>
  11. </report>
  12. </coverage>
  13. <php>
  14. <ini name="error_reporting" value="-1"/>
  15. <server name="APP_ENV" value="test" force="true"/>
  16. <server name="SHELL_VERBOSITY" value="-1"/>
  17. <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
  18. <server name="SYMFONY_PHPUNIT_VERSION" value="9.4"/>
  19. </php>
  20. <testsuites>
  21. <testsuite name="Project Test Suite">
  22. <directory>tests</directory>
  23. </testsuite>
  24. </testsuites>
  25. <listeners>
  26. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  27. </listeners>
  28. <logging>
  29. <junit outputFile="./coverage/junit-report.xml"/>
  30. </logging>
  31. </phpunit>