phpunit.xml.dist 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. bootstrap="./vendor/autoload.php"
  8. colors="true"
  9. columns="max"
  10. defaultTimeLimit="10"
  11. enforceTimeLimit="true"
  12. executionOrder="defects"
  13. failOnRisky="true"
  14. failOnWarning="true"
  15. timeoutForSmallTests="10"
  16. timeoutForMediumTests="20"
  17. timeoutForLargeTests="30"
  18. >
  19. <testsuites>
  20. <testsuite name="unit">
  21. <directory>./tests/</directory>
  22. <exclude>./tests/IntegrationTest.php</exclude>
  23. <exclude>./tests/AutoReview/</exclude>
  24. <exclude>./tests/Smoke/</exclude>
  25. </testsuite>
  26. <testsuite name="integration">
  27. <file>./tests/IntegrationTest.php</file>
  28. </testsuite>
  29. <testsuite name="smoke">
  30. <directory>./tests/Smoke/</directory>
  31. </testsuite>
  32. <testsuite name="auto-review">
  33. <directory>./tests/AutoReview/</directory>
  34. </testsuite>
  35. <testsuite name="short-open-tag">
  36. <file>./tests/Fixer/PhpTag/NoClosingTagFixerTest.php</file>
  37. <file>./tests/Fixer/Semicolon/NoEmptyStatementFixerTest.php</file>
  38. <file>./tests/Fixer/Semicolon/SemicolonAfterInstructionFixerTest.php</file>
  39. <file>./tests/Tokenizer/TokensTest.php</file>
  40. </testsuite>
  41. </testsuites>
  42. <coverage>
  43. <include>
  44. <directory>./src</directory>
  45. </include>
  46. </coverage>
  47. <extensions>
  48. <bootstrap class="Paraunit\Configuration\ParaunitExtension"/>
  49. </extensions>
  50. <php>
  51. <ini name="zend.enable_gc" value="0"/>
  52. <ini name="memory_limit" value="10G"/>
  53. <env name="FAST_LINT_TEST_CASES" value="0"/>
  54. </php>
  55. </phpunit>