phpunit.xml.dist 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. enforceTimeLimit="true"
  18. processIsolation="false"
  19. stopOnFailure="false"
  20. verbose="true"
  21. >
  22. <testsuites>
  23. <testsuite name="all">
  24. <directory>./tests</directory>
  25. </testsuite>
  26. <testsuite name="coverage">
  27. <directory>./tests</directory>
  28. <exclude>./tests/AutoReview</exclude>
  29. <exclude>./tests/Smoke</exclude>
  30. </testsuite>
  31. </testsuites>
  32. <filter>
  33. <whitelist>
  34. <directory>./src</directory>
  35. </whitelist>
  36. </filter>
  37. <listeners>
  38. <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
  39. <arguments>
  40. <array>
  41. <element key="slowThreshold">
  42. <integer>100</integer>
  43. </element>
  44. </array>
  45. </arguments>
  46. </listener>
  47. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  48. </listeners>
  49. <php>
  50. <ini name="zend.enable_gc" value="0"/>
  51. <ini name="memory_limit" value="1G"/>
  52. <env name="SKIP_LINT_TEST_CASES" value="0"/>
  53. <env name="PHP_CS_FIXER_TEST_ALLOW_SKIPPING_SMOKE_TESTS" value="1"/>
  54. <env name="PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER" value="0"/>
  55. </php>
  56. </phpunit>