Class: Cucumber::Formatter::LegacyApi::Ast::StepInvocations
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Instance Method Summary collapse
Instance Method Details
#exception ⇒ Object
194 195 196 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 194 def exception failed_step.exception if failed_step end |
#failed? ⇒ Boolean
181 182 183 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 181 def failed? any?(&:failed?) end |
#passed? ⇒ Boolean
185 186 187 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 185 def passed? all?(&:passed?) end |
#status ⇒ Object
189 190 191 192 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 189 def status return :passed if passed? failed_step.status end |