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



7
8
9
# File 'lib/flatware/cucumber/formatter.rb', line 7

def scenarios
  @scenarios
end

#stepsObject

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



7
8
9
# File 'lib/flatware/cucumber/formatter.rb', line 7

def steps
  @steps
end

Instance Method Details

#failures?Boolean

Returns:

  • (Boolean)


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

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