diff options
author | Greg Aker <greg.aker@ellislab.com> | 2011-04-21 21:34:31 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2011-04-21 21:34:31 +0200 |
commit | b567947d38a20960aade96f9179ad6bc21f22646 (patch) | |
tree | 94b66cbc47c7b9f1a9477cdc2733ce58ebfcc302 /tests/Bootstrap.php | |
parent | 56106630e172203858d58325dea5d2e81b226f87 (diff) |
Moving tests/codeigniter/helpers/Array_helper_test.php to be lower cased.
Adding html_helper_test.php as well.
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r-- | tests/Bootstrap.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 94dafdce4..db5ffbd52 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -17,4 +17,12 @@ define('APPPATH', PROJECT_BASE.'application/'); require_once $dir.'/lib/common.php'; 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); + +// Omit Tests from the coverage reports. +// PHP_CodeCoverage_Filter::getInstance() + unset($dir);
\ No newline at end of file |