Class: Flatware::Cucumber::Formatter::Checkpoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/flatware/cucumber/formatter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scenariosObject

Returns the value of attribute scenarios

Returns:

  • (Object)

    the current value of scenarios



9
10
11
# File 'lib/flatware/cucumber/formatter.rb', line 9

def scenarios
  @scenarios
end

#stepsObject

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



9
10
11
# File 'lib/flatware/cucumber/formatter.rb', line 9

def steps
  @steps
end

Instance Method Details

#failures?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/flatware/cucumber/formatter.rb', line 10

def failures?
  scenarios.any?(&:failed?)
end