CakeTextReporter now outputs code coverage.

This commit is contained in:
Mark Story 2010-01-10 15:56:24 -05:00
parent 9989327b5b
commit 489958ea48

View file

@ -62,6 +62,13 @@ class CakeTextReporter extends CakeBaseReporter {
if (function_exists('memory_get_peak_usage')) {
echo 'Peak memory use: (in bytes): ' . number_format(memory_get_peak_usage()) . "\n";
}
if (
isset($this->params['codeCoverage']) &&
$this->params['codeCoverage'] &&
class_exists('CodeCoverageManager')
) {
CodeCoverageManager::report();
}
}
/**