phpunit.xml.dist 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. backupGlobals="false"
  6. backupStaticAttributes="false"
  7. beStrictAboutChangesToGlobalState="true"
  8. beStrictAboutOutputDuringTests="true"
  9. beStrictAboutTestsThatDoNotTestAnything="true"
  10. beStrictAboutTodoAnnotatedTests="true"
  11. bootstrap="./vendor/autoload.php"
  12. colors="true"
  13. columns="max"
  14. convertErrorsToExceptions="true"
  15. convertNoticesToExceptions="true"
  16. convertWarningsToExceptions="true"
  17. defaultTimeLimit="10"
  18. enforceTimeLimit="true"
  19. failOnRisky="true"
  20. failOnWarning="true"
  21. processIsolation="false"
  22. stopOnFailure="false"
  23. timeoutForSmallTests="10"
  24. timeoutForMediumTests="20"
  25. timeoutForLargeTests="30"
  26. verbose="false"
  27. >
  28. <testsuites>
  29. <testsuite name="all">
  30. <directory>./tests</directory>
  31. </testsuite>
  32. <testsuite name="coverage">
  33. <directory>./tests</directory>
  34. <exclude>./tests/AutoReview</exclude>
  35. <exclude>./tests/Smoke</exclude>
  36. </testsuite>
  37. </testsuites>
  38. <filter>
  39. <whitelist>
  40. <directory>./src</directory>
  41. </whitelist>
  42. </filter>
  43. <listeners>
  44. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  45. </listeners>
  46. <php>
  47. <ini name="zend.enable_gc" value="0"/>
  48. <ini name="memory_limit" value="10G"/>
  49. <env name="FAST_LINT_TEST_CASES" value="0"/>
  50. <env name="PHP_CS_FIXER_TEST_ALLOW_SKIPPING_SMOKE_TESTS" value="1"/>
  51. </php>
  52. </phpunit>