You are here

public function PHPUnit_Framework_TestResult::time in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::time()

Returns the time spent running the tests.

Return value

float

File

vendor/phpunit/phpunit/src/Framework/TestResult.php, line 979

Class

PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.

Code

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