class Cucumber::Core::Test::Runner::RunningTestCase

def duration(_step_duration, _step_result)

def duration(_step_duration, _step_result)
  self
end

def exception(_step_exception, _step_result)

def exception(_step_exception, _step_result)
  self
end

def execute(test_step, &continue)

def execute(test_step, &continue)
  status.execute(test_step, self, &continue)
end

def failed(step_result)

def failed(step_result)
  @status = Status::Failing.new(step_result)
  self
end

def initialize

def initialize
  @timer = Timer.new.start
  @status = Status::Unknown.new(Result::Unknown.new)
end

def passed(step_result)

def passed(step_result)
  @status = Status::Passing.new(step_result)
  self
end

def pending(_message, step_result)

def pending(_message, step_result)
  @status = Status::Pending.new(step_result)
  self
end

def result

def result
  status.result(@timer.duration)
end

def skipped(step_result)

def skipped(step_result)
  @status = Status::Skipping.new(step_result)
  self
end

def undefined(step_result)

def undefined(step_result)
  failed(step_result)
  self
end