public OverviewStats valuate ( CucumberScenarioResult scenario ) { this . reset ( ) ; scenario . valuate ( ) ; this . addOverallDuration ( ( float ) scenario . getDuration ( ) ) ; this . addStepsPassed ( scenario . getPassed ( ) ) ; this . addStepsFailed ( scenario . getFailed ( ) ) ; this . addStepsKnown ( scenario . getKnown ( ) ) ; this . addStepsUndefined ( scenario . getUndefined ( ) + scenario . getSkipped ( ) ) ; return this ; }
Calculates overall statistics for specific scenario .