PHPUnit_Framework_TestResult::startTest PHP Метод

startTest() публичный Метод

Informs the result that a test will be started.
public startTest ( PHPUnit_Framework_Test $test )
$test PHPUnit_Framework_Test
    public function startTest(PHPUnit_Framework_Test $test)
    {
        $this->lastTestFailed = false;
        $this->runTests += count($test);
        foreach ($this->listeners as $listener) {
            $listener->startTest($test);
        }
    }

Usage Example

 public function run(PHPUnit_Framework_TestResult $result = null)
 {
     $result->startTest($this);
     $this->testCase->runBare();
     $this->testCase->runBare();
     $result->endTest($this, 0);
 }
All Usage Examples Of PHPUnit_Framework_TestResult::startTest