phpunit.xml.dist 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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 includeUncoveredFiles="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. <server name="KERNEL_CLASS" value="App\Kernel" />
  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. <logging>
  30. <junit outputFile="./coverage/junit-report.xml"/>
  31. </logging>
  32. </phpunit>