Debian Codegraph @

demo/kitchen-sink/docs/gherkin.feature

raw
1 @these @_are_ @tags
2 Feature: Serve coffee
3 Coffee should not be served until paid for
4 Coffee should not be served until the button has been pressed
5 If there is no coffee left then money should be refunded
6
7 Scenario Outline: Eating
8 Given there are <start> cucumbers
9 When I eat <eat> cucumbers
10 Then I should have <left> cucumbers
11
12 Examples:
13 | start | eat | left |
14 | 12 | 5 | 7 |
15 | @20 | 5 | 15 |
16
17 Scenario: Buy last coffee
18 Given there are 1 coffees left in the machine
19 And I have deposited 1$
20 When I press the coffee button
21 Then I should be served a "coffee"
22
23 # this a comment
24
25 """
26 this is a
27 pystring
28 """