Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
phalanx - Commitdiff - ViewGit - Blue Static

Exclude the phalanx/testing/ directory from the code coverage report

Robert Sesek [2009-08-25 22:17]
Exclude the phalanx/testing/ directory from the code coverage report
diff --git a/testing/all_tests.php b/testing/all_tests.php
index 74b1f8f..639b55e 100644
--- a/testing/all_tests.php
+++ b/testing/all_tests.php
@@ -21,6 +21,8 @@ require_once 'PHPUnit/Framework.php';
 define('PHALANX_ROOT', dirname(dirname(__FILE__)));
 define('TEST_ROOT', dirname(__FILE__));

+\PHPUnit_Util_Filter::addDirectoryToFilter(TEST_ROOT);
+
 class AllTests
 {
 	public static function suite()