|
@@ -1,24 +1,35 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<phpunit bootstrap="autoload.php" backupGlobals="false"
|
|
|
- backupStaticAttributes="false" strict="true" verbose="true">
|
|
|
- <testsuites>
|
|
|
- <testsuite name="Chamilo LMS classes">
|
|
|
- <directory suffix="Test.class.php">../phpunit/classes</directory>
|
|
|
- <directory suffix="Test.lib.php">../phpunit/classes</directory>
|
|
|
- </testsuite>
|
|
|
- </testsuites>
|
|
|
- <logging>
|
|
|
- <log type="coverage-clover" target="../logs/clover.xml"/>
|
|
|
- <log type="coverage-html" target="../coverage" title="ChamiloTests"/>
|
|
|
- <log type="junit" target="../logs/junit.xml" logIncompleteSkipped="false"/>
|
|
|
- </logging>
|
|
|
- <filter>
|
|
|
- <whitelist addUncoveredFilesFromWhitelist="true">
|
|
|
- <directory suffix=".php">../../main/inc</directory>
|
|
|
- <exclude>
|
|
|
-
|
|
|
-
|
|
|
- </exclude>
|
|
|
- </whitelist>
|
|
|
- </filter>
|
|
|
+<phpunit bootstrap="autoload.php"
|
|
|
+ backupGlobals="false"
|
|
|
+ backupStaticAttributes="false"
|
|
|
+ colors="true"
|
|
|
+ strict="true"
|
|
|
+ verbose="true"
|
|
|
+ convertErrorsToExceptions="true"
|
|
|
+ convertNoticesToExceptions="true"
|
|
|
+ convertWarningsToExceptions="true"
|
|
|
+ processIsolation="false"
|
|
|
+ stopOnFailure="false"
|
|
|
+ syntaxCheck="false"
|
|
|
+>
|
|
|
+ <testsuites>
|
|
|
+ <testsuite name="Chamilo LMS classes">
|
|
|
+ <directory suffix="Test.class.php">../phpunit/classes</directory>
|
|
|
+ <directory suffix="Test.lib.php">../phpunit/classes</directory>
|
|
|
+ </testsuite>
|
|
|
+ </testsuites>
|
|
|
+ <logging>
|
|
|
+ <log type="coverage-clover" target="../logs/clover.xml"/>
|
|
|
+ <log type="coverage-html" target="../coverage" title="ChamiloTests"/>
|
|
|
+ <log type="junit" target="../logs/junit.xml" logIncompleteSkipped="false"/>
|
|
|
+ </logging>
|
|
|
+ <filter>
|
|
|
+ <whitelist addUncoveredFilesFromWhitelist="true">
|
|
|
+ <directory suffix=".php">../../main/inc</directory>
|
|
|
+ <exclude>
|
|
|
+
|
|
|
+
|
|
|
+ </exclude>
|
|
|
+ </whitelist>
|
|
|
+ </filter>
|
|
|
</phpunit>
|