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