public function getTests()
{
if (!empty($this->_testsToRun)) {
debug('Only the following tests will be executed: ' . join(', ', (array) $this->_testsToRun), false, false);
$result = array_merge(array('start', 'startCase'), (array) $this->_testsToRun, array('endCase', 'end'));
return $result;
} else {
return parent::getTests();
}
}