Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Feature is marked as successful even if a Background step fails #427

Open
maria opened this Issue · 2 comments

2 participants

@maria

Problem

Scenario: Mark feature as successful
  Given I defined a Background
  And I defined a Scenario 
  When I run the Feature
  And one/more Background steps fails
  But no step from the Scenario fails
  Then the Feature is marked as successful

Deliverables

Scenario: Mark feature as failed
  Given I defined a Feature Background
  And I defined a Feature Scenario 
  When I run the Feature
  And one/more Background steps fails
  But no step from the Scenario fails
  Then the Feature is marked as failed

Scenario: Mark feature as successful
  Given I defined a Feature Background
  And I defined a Feature Scenario 
  When I run the Feature
  And none of the Background steps fails
  But none of the Scenario steps fails
  Then the Feature is marked as successful

Solution

Prerequisites

?

TODO

  • ?

Files

  • lettuce/core.py
  • lettuce/strings.py
@danni
Collaborator
@maria

I saw that. I opened the issue with that in mind. I will close it once you merge your pull request. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.