phpunit.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="autoload.php"
  3. backupGlobals="false"
  4. backupStaticAttributes="false"
  5. colors="false"
  6. strict="true"
  7. verbose="true"
  8. convertErrorsToExceptions="true"
  9. convertNoticesToExceptions="true"
  10. convertWarningsToExceptions="true"
  11. processIsolation="false"
  12. stopOnFailure="false"
  13. syntaxCheck="false"
  14. >
  15. <testsuites>
  16. <testsuite name="Chamilo LMS classes">
  17. <directory suffix="Test.class.php">../phpunit/classes</directory>
  18. <directory suffix="Test.lib.php">../phpunit/classes</directory>
  19. </testsuite>
  20. </testsuites>
  21. <logging>
  22. <log type="coverage-clover" target="../logs/clover.xml"/>
  23. <log type="coverage-html" target="../coverage" title="ChamiloTests"/>
  24. <log type="junit" target="../logs/junit.xml" logIncompleteSkipped="false"/>
  25. </logging>
  26. <filter>
  27. <whitelist addUncoveredFilesFromWhitelist="true">
  28. <directory suffix=".php">../../main/inc</directory>
  29. <exclude>
  30. <!--file>global.inc.php</file-->
  31. </exclude>
  32. </whitelist>
  33. </filter>
  34. </phpunit>