phpunit.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.0/phpunit.xsd"
  5. bootstrap="modules/unittest/bootstrap.php"
  6. cacheTokens="true"
  7. beStrictAboutOutputDuringTests="true"
  8. beStrictAboutTodoAnnotatedTests="true"
  9. convertErrorsToExceptions="true"
  10. convertNoticesToExceptions="true"
  11. convertWarningsToExceptions="true"
  12. stopOnFailure="false"
  13. >
  14. <php>
  15. <ini name="memory_limit" value="512M" />
  16. </php>
  17. <!-- Koseven Test Suite -->
  18. <testsuite name="default">
  19. <directory suffix="tests.php">modules/unittest/</directory>
  20. <directory suffix="tests.php">./modules/unittest</directory>
  21. </testsuite>
  22. <!-- Path to store coverage reports -->
  23. <logging>
  24. <log type="coverage-clover" target="build/logs/clover.xml"/>
  25. <log type="coverage-html" target="build/logs/"/>
  26. </logging>
  27. <!-- Whitelist for Coverage Support -->
  28. <filter>
  29. <whitelist processUncoveredFilesFromWhitelist="true">
  30. <directory suffix=".php">./application/classes</directory>
  31. <directory suffix=".php">./modules/*/classes</directory>
  32. <directory suffix=".php">./system/classes</directory>
  33. </whitelist>
  34. </filter>
  35. </phpunit>