src/Behat/Behat/Output/Statistics/TotalStatistics.php
public function registerScenarioStat(ScenarioStat $stat)
    {
        if (TestResults::NO_TESTS === $stat->getResultCode()) {
            return;
        }

        $this->scenarioCounters[$stat->getResultCode()]++;

        if (TestResult::FAILED === $stat->getResultCode()) {
            $this->failedScenarioStats[] = $stat;
        }

        if (TestResult::SKIPPED === $stat->getResultCode()) {
            $this->skippedScenarioStats[] = $stat;
        }
    }
public function registerScenarioStat(ScenarioStat $stat)
    {
        if (TestResults::NO_TESTS === $stat->getResultCode()) {
            return;
        }

        $this->scenarioCounters[$stat->getResultCode()]++;

        if (TestResult::FAILED === $stat->getResultCode()) {
            $this->failedScenarioStats[] = $stat;
        }

        if (TestResult::SKIPPED === $stat->getResultCode()) {
            $this->skippedScenarioStats[] = $stat;
        }
    }
public function registerScenarioStat ( ScenarioStat $ stat ) { if ( TestResults :: NO_TESTS === $ stat -> getResultCode ( ) ) { return ; } $ this -> scenarioCounters [ $ stat -> getResultCode ( ) ] ++ ; if ( TestResult :: FAILED === $ stat -> getResultCode ( ) ) { $ this -> failedScenarioStats [ ] = $ stat ; } if ( TestResult :: SKIPPED === $ stat -> getResultCode ( ) ) { $ this -> skippedScenarioStats [ ] = $ stat ; } }
Registers scenario stat.

@param ScenarioStat $stat
Registers scenario stat .