getTestName() public méthode

Returns the name of the failing test (including data set, if any).
public getTestName ( ) : string
Résultat 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()));
 }