phpunit.xml.dist 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. failOnWarning="true"
  20. processIsolation="false"
  21. stopOnFailure="false"
  22. timeoutForSmallTests="10"
  23. timeoutForMediumTests="20"
  24. timeoutForLargeTests="30"
  25. verbose="false"
  26. >
  27. <testsuites>
  28. <testsuite name="all">
  29. <directory>./tests</directory>
  30. </testsuite>
  31. <testsuite name="coverage">
  32. <directory>./tests</directory>
  33. <exclude>./tests/AutoReview</exclude>
  34. <exclude>./tests/Smoke</exclude>
  35. </testsuite>
  36. </testsuites>
  37. <filter>
  38. <whitelist>
  39. <directory>./src</directory>
  40. </whitelist>
  41. </filter>
  42. <listeners>
  43. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  44. </listeners>
  45. <php>
  46. <ini name="zend.enable_gc" value="0"/>
  47. <ini name="memory_limit" value="1G"/>
  48. <env name="FAST_LINT_TEST_CASES" value="0"/>
  49. <env name="SKIP_LINT_TEST_CASES" value="0"/>
  50. <env name="PHP_CS_FIXER_TEST_ALLOW_SKIPPING_SMOKE_TESTS" value="1"/>
  51. <env name="PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER" value="0"/>
  52. </php>
  53. </phpunit>