You are here

public function PHPUnit_TextUI_ResultPrinter::startTest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php \PHPUnit_TextUI_ResultPrinter::startTest()

A test started.

Parameters

PHPUnit_Framework_Test $test:

Overrides PHPUnit_Framework_TestListener::startTest

File

vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php, line 480

Class

PHPUnit_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.

Code

public function startTest(PHPUnit_Framework_Test $test) {
  if ($this->debug) {
    $this
      ->write(sprintf("\nStarting test '%s'.\n", PHPUnit_Util_Test::describe($test)));
  }
}