phpunit.xml.dist 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
  5. beStrictAboutChangesToGlobalState="true"
  6. beStrictAboutOutputDuringTests="true"
  7. beStrictAboutTodoAnnotatedTests="true"
  8. bootstrap="./vendor/autoload.php"
  9. colors="true"
  10. columns="max"
  11. defaultTimeLimit="10"
  12. enforceTimeLimit="true"
  13. failOnRisky="true"
  14. failOnWarning="true"
  15. timeoutForSmallTests="10"
  16. timeoutForMediumTests="20"
  17. timeoutForLargeTests="30"
  18. >
  19. <testsuites>
  20. <testsuite name="all">
  21. <directory>./tests</directory>
  22. </testsuite>
  23. <testsuite name="coverage">
  24. <directory>./tests</directory>
  25. <exclude>./tests/AutoReview</exclude>
  26. <exclude>./tests/Smoke</exclude>
  27. </testsuite>
  28. </testsuites>
  29. <coverage>
  30. <include>
  31. <directory>./src</directory>
  32. </include>
  33. </coverage>
  34. <listeners>
  35. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  36. </listeners>
  37. <php>
  38. <ini name="zend.enable_gc" value="0"/>
  39. <ini name="memory_limit" value="10G"/>
  40. <env name="FAST_LINT_TEST_CASES" value="0"/>
  41. <env name="PHP_CS_FIXER_TEST_ALLOW_SKIPPING_SMOKE_TESTS" value="1"/>
  42. </php>
  43. </phpunit>