summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index db5ffbd52..657671ab0 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -21,8 +21,10 @@ require_once $dir.'/lib/ci_testcase.php';
// Omit files in the PEAR & PHP Paths from ending up in the coverage report
PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PEAR_INSTALL_DIR);
PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PHP_LIBDIR);
+PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(PROJECT_BASE.'tests');
// Omit Tests from the coverage reports.
-// PHP_CodeCoverage_Filter::getInstance()
+// PHP_CodeCoverage_Filter::getInstance()->addDirectoryToWhiteList('../system/core');
+PHP_CodeCoverage_Filter::getInstance()->addFileToBlackList('../system/core/CodeIgniter.php');
unset($dir); \ No newline at end of file