41 行
1.2KB

  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="8.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. <!-- Run `composer require symfony/panther` before enabling this extension -->
  30. <!--
  31. <extensions>
  32. <extension class="Symfony\Component\Panther\ServerExtension" />
  33. </extensions>
  34. -->
  35. </phpunit>