phpunit.xml.dist 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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"
  4. xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
  5. backupGlobals="false"
  6. colors="true"
  7. bootstrap="tests/bootstrap.php"
  8. >
  9. <php>
  10. <ini name="error_reporting" value="-1" />
  11. <server name="APP_ENV" value="test" force="true" />
  12. <server name="SHELL_VERBOSITY" value="-1" />
  13. <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
  14. <server name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
  15. </php>
  16. <testsuites>
  17. <testsuite name="Project Test Suite">
  18. <directory>tests</directory>
  19. </testsuite>
  20. </testsuites>
  21. <filter>
  22. <whitelist processUncoveredFilesFromWhitelist="true">
  23. <directory suffix=".php">src</directory>
  24. </whitelist>
  25. </filter>
  26. <listeners>
  27. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
  28. </listeners>
  29. </phpunit>