class Cucumber::Core::Test::Runner::StepRunner

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)

def execute(test_step)
  status.execute(test_step, self)
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