Returns the name of the failing test (including data set, if any).
public getTestName ( ) : string | ||
return | string |
/** * @param PHPUnit_Framework_TestFailure $defect * @param int $count */ protected function printDefectHeader(PHPUnit_Framework_TestFailure $defect, $count) { $this->write(sprintf("\n%d) %s\n", $count, $defect->getTestName())); }