RerunTotalStatistics
class RerunTotalStatistics implements Statistics (View source)
Copy paste of Behat\Behat\Output\Statistics\TotalStatistics which is a final class
Modified to remove duplicated stats from reruns
Methods
Details
__construct()
Initializes statistics.
resetAllCounters()
No description
startTimer()
Starts timer.
stopTimer()
Stops timer.
Timer
getTimer()
Returns timer object.
Memory
getMemory()
Returns memory usage object.
registerScenarioStat(ScenarioStat $stat)
Registers scenario stat.
registerStepStat(StepStat $stat)
Registers step stat.
registerHookStat(HookStat $stat)
Registers hook stat.
array[]
getScenarioStatCounts()
Returns counters for different scenario result codes.
ScenarioStat[]
getSkippedScenarios()
Returns skipped scenario stats.
ScenarioStat[]
getFailedScenarios()
Returns failed scenario stats.
array[]
getStepStatCounts()
Returns counters for different step result codes.
StepStat[]
getFailedSteps()
Returns failed step stats.
StepStat[]
getPendingSteps()
Returns pending step stats.
HookStat[]
getFailedHookStats()
Returns failed hook stats.