Module: Cukeregator::Status

Included in:
Aggregator, HtmlReader
Defined in:
lib/cukeregator/status.rb

Instance Method Summary collapse

Instance Method Details

#statusObject



4
5
6
7
8
9
# File 'lib/cukeregator/status.rb', line 4

def status
  return :failed if scenario_totals[:failed] > 0
  return :passed if scenario_totals[:passed] > 0
  return :pending if scenario_totals[:pending] > 0
  return :undefined
end