Class: CucumberStatistics::OverallStatistics

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber_statistics/overall_statistics.rb

Instance Method Summary collapse

Instance Method Details

#durationObject



13
14
15
# File 'lib/cucumber_statistics/overall_statistics.rb', line 13

def duration
  end_time - start_time
end

#feature_count_incObject



17
18
19
# File 'lib/cucumber_statistics/overall_statistics.rb', line 17

def feature_count_inc
  self.feature_count += 1
end

#scenario_count_incObject



21
22
23
# File 'lib/cucumber_statistics/overall_statistics.rb', line 21

def scenario_count_inc
  self.scenario_count += 1
end

#step_count_incObject



25
26
27
# File 'lib/cucumber_statistics/overall_statistics.rb', line 25

def step_count_inc
  self.step_count += 1
end