phpunit.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--TODO Refactoring https://github.com/sebastianbergmann/phpunit/issues/4599-->
  3. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
  5. bootstrap="modules/unittest/bootstrap.php"
  6. beStrictAboutOutputDuringTests="true"
  7. failOnRisky="false"
  8. failOnWarning="false"
  9. stopOnFailure="false">
  10. <coverage cacheDirectory=".phpunit.cache/code-coverage">
  11. <include>
  12. <directory suffix=".php">./application/classes</directory>
  13. <directory suffix=".php">./modules/*/classes</directory>
  14. <directory suffix=".php">./system/classes</directory>
  15. </include>
  16. <report>
  17. <clover outputFile="build/logs/clover.xml"/>
  18. <html outputDirectory="build/logs/"/>
  19. </report>
  20. </coverage>
  21. <php>
  22. <ini name="memory_limit" value="512M"/>
  23. </php>
  24. <!-- Koseven Test Suite -->
  25. <testsuite name="default">
  26. <directory suffix="tests.php">modules/unittest/</directory>
  27. <directory suffix="tests.php">./modules/unittest</directory>
  28. </testsuite>
  29. <!-- Path to store coverage reports -->
  30. <logging/>
  31. </phpunit>