You are here

public function PHPUnit_Framework_TestFailure::getTestName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/TestFailure.php \PHPUnit_Framework_TestFailure::getTestName()

Returns the name of the failing test (including data set, if any).

@since Method available since Release 4.3.0

Return value

string

File

vendor/phpunit/phpunit/src/Framework/TestFailure.php, line 113

Class

PHPUnit_Framework_TestFailure
A TestFailure collects a failed test together with the caught exception.

Code

public function getTestName() {
  return $this->testName;
}