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. <exclude>
  9. <directory>src/Util/Exception</directory>
  10. <file>src/Kernel.php</file>
  11. <file>src/CacheKernel.php</file>
  12. </exclude>
  13. </coverage>
  14. <php>
  15. <ini name="error_reporting" value="-1"/>
  16. <server name="APP_ENV" value="test" force="true"/>
  17. <server name="SHELL_VERBOSITY" value="-1"/>
  18. <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
  19. <server name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
  20. </php>
  21. <testsuites>
  22. <testsuite name="Project Test Suite">
  23. <directory>tests</directory>
  24. </testsuite>
  25. </testsuites>
  26. <listeners>
  27. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  28. </listeners>
  29. </phpunit>