phpunit.xml.dist 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="vendor/autoload.php"
  5. beStrictAboutOutputDuringTests="true"
  6. colors="true"
  7. verbose="true"
  8. convertErrorsToExceptions="true"
  9. convertNoticesToExceptions="true"
  10. convertWarningsToExceptions="true"
  11. processIsolation="false"
  12. stopOnFailure="false">
  13. <logging>
  14. <log type="coverage-clover" target="build/logs/clover.xml"/>
  15. <log type="coverage-xml" target="build/logs/coverage-xml"/>
  16. <log type="junit" target="build/logs/junit.xml"/>
  17. </logging>
  18. <testsuites>
  19. <testsuite name="Builder">
  20. <directory suffix=".php">./tests/Builder</directory>
  21. </testsuite>
  22. <testsuite name="Components">
  23. <directory suffix=".php">./tests/Components</directory>
  24. </testsuite>
  25. <testsuite name="Lexer">
  26. <directory suffix=".php">./tests/Lexer</directory>
  27. </testsuite>
  28. <testsuite name="Misc">
  29. <directory suffix=".php">./tests/Misc</directory>
  30. </testsuite>
  31. <testsuite name="Parser">
  32. <directory suffix=".php">./tests/Parser</directory>
  33. </testsuite>
  34. <testsuite name="Utils">
  35. <directory suffix=".php">./tests/Utils</directory>
  36. </testsuite>
  37. <testsuite name="Tools">
  38. <directory suffix=".php">./tests/Tools</directory>
  39. <exclude>./tests/Tools/templates/</exclude>
  40. <exclude>./tests/Tools/contexts/</exclude>
  41. </testsuite>
  42. </testsuites>
  43. <filter>
  44. <whitelist processUncoveredFilesFromWhitelist="true">
  45. <directory suffix=".php">src/</directory>
  46. </whitelist>
  47. </filter>
  48. <php>
  49. <ini name="display_errors" value="On" />
  50. <ini name="display_startup_errors" value="On" />
  51. <ini name="error_reporting" value="E_ALL" />
  52. </php>
  53. </phpunit>