phpunit.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="autoload.php"
  3. backupGlobals="false"
  4. backupStaticAttributes="false"
  5. colors="true"
  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. <directory>../../vendor/silex/silex/tests/</directory>
  20. </testsuite>
  21. </testsuites>
  22. <logging>
  23. <log type="coverage-clover" target="../logs/clover.xml"/>
  24. <log type="coverage-html" target="../coverage" title="ChamiloTests"/>
  25. <log type="junit" target="../logs/junit.xml" logIncompleteSkipped="false"/>
  26. </logging>
  27. <filter>
  28. <whitelist addUncoveredFilesFromWhitelist="true">
  29. <directory suffix=".php">../../main/inc</directory>
  30. <exclude>
  31. <!--file>autoload.inc.php</file-->
  32. <!--file>global.inc.php</file-->
  33. </exclude>
  34. </whitelist>
  35. </filter>
  36. </phpunit>