Class: CucumberStatistics::OverallStatistics
- Inherits:
-
Object
- Object
- CucumberStatistics::OverallStatistics
- Defined in:
- lib/cucumber_statistics/overall_statistics.rb
Instance Method Summary collapse
- #duration ⇒ Object
- #feature_count_inc ⇒ Object
- #scenario_count_inc ⇒ Object
- #step_count_inc ⇒ Object
Instance Method Details
#duration ⇒ Object
13 14 15 |
# File 'lib/cucumber_statistics/overall_statistics.rb', line 13 def duration end_time - start_time end |
#feature_count_inc ⇒ Object
17 18 19 |
# File 'lib/cucumber_statistics/overall_statistics.rb', line 17 def feature_count_inc self.feature_count += 1 end |
#scenario_count_inc ⇒ Object
21 22 23 |
# File 'lib/cucumber_statistics/overall_statistics.rb', line 21 def scenario_count_inc self.scenario_count += 1 end |
#step_count_inc ⇒ Object
25 26 27 |
# File 'lib/cucumber_statistics/overall_statistics.rb', line 25 def step_count_inc self.step_count += 1 end |