Monkey patch the Spinach StdoutReporter to show scenario locations
Before:
Scenario: Viewing invitation when signed out
✔ Given "John Doe" is owner of group "Owned" # features/steps/shared/group.rb:8
After:
Scenario: Viewing invitation when signed out # features/invites.feature:6
✔ Given "John Doe" is owner of group "Owned" # features/steps/shared/group.rb:8
Now if a scenario fails we can easily rerun it with a specific line
number.
Showing
Please
register
or
sign in
to comment