phpunit.xml.dist 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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="vendor/phpunit/phpunit/phpunit.xsd"
  5. backupGlobals="false"
  6. colors="true"
  7. bootstrap="tests/bootstrap.php"
  8. convertDeprecationsToExceptions="false"
  9. >
  10. <php>
  11. <ini name="display_errors" value="1" />
  12. <ini name="error_reporting" value="-1" />
  13. <server name="APP_ENV" value="test" force="true" />
  14. <server name="SHELL_VERBOSITY" value="-1" />
  15. <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
  16. <server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
  17. </php>
  18. <testsuites>
  19. <testsuite name="Project Test Suite">
  20. <directory>tests</directory>
  21. </testsuite>
  22. </testsuites>
  23. <coverage processUncoveredFiles="true">
  24. <include>
  25. <directory suffix=".php">src</directory>
  26. </include>
  27. </coverage>
  28. <listeners>
  29. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
  30. </listeners>
  31. <!-- Run `composer require symfony/panther` before enabling this extension -->
  32. <!--
  33. <extensions>
  34. <extension class="Symfony\Component\Panther\ServerExtension" />
  35. </extensions>
  36. -->
  37. </phpunit>