class Gurke::Step::StepResult
Attributes
exception[R]
scenario[R]
state[R]
step[R]
Public Class Methods
new(step, scenario, state, err = nil)
click to toggle source
# File lib/gurke/step.rb, line 95 def initialize(step, scenario, state, err = nil) @step = step @state = state @scenario = scenario @exception = err end
Public Instance Methods
failed?()
click to toggle source
# File lib/gurke/step.rb, line 108 def failed? @state == :failed end
passed?()
click to toggle source
# File lib/gurke/step.rb, line 120 def passed? @state == :passed end
pending?()
click to toggle source
# File lib/gurke/step.rb, line 112 def pending? @state == :pending end
skipped?()
click to toggle source
# File lib/gurke/step.rb, line 116 def skipped? @state == :skipped end