Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (26 sloc) 0.575 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Feature: Failing sample

Background:
Given anything

Scenario: Winning
When I do something good
Then fail

Scenario: Losing
When I do something bad
Then fail

Scenario: Exceptions
When I do something that raises an exception
Then I will never pass

Scenario Outline: Passing wins
When I do something good with <thing>
Then fail

Examples:
| thing |
| money |
| time |

Scenario Outline: Passing flops
When I do something bad with <thing>
Then fail

Examples:
| thing |
| money |
| time |
Something went wrong with that request. Please try again.