#edit your ./bin/phpunit
##PHPUnit3.4
set_include_path(dirname(__DIR__).'/php' . PATH_SEPARATOR . get_include_path());
/*
if (strpos('/usr/bin/php', '@php_bin') === 0) {
set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
}*/
##PHPUnit3.5
set_include_path(dirname(__DIR__).'/php' . PATH_SEPARATOR . get_include_path());
require_once 'PHP/CodeCoverage/Filter.php';
PHP_CodeCoverage_Filter::getInstance()->addFileToBlacklist(__FILE__, 'PHPUNIT');
/**
if (strpos('/usr/bin/php', '@php_bin') === 0) {
set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
}*/