gherkin.feature 699 B

12345678910111213141516171819202122232425262728
  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. Scenario Outline: Eating
  7. Given there are <start> cucumbers
  8. When I eat <eat> cucumbers
  9. Then I should have <left> cucumbers
  10. Examples:
  11. | start | eat | left |
  12. | 12 | 5 | 7 |
  13. | @20 | 5 | 15 |
  14. Scenario: Buy last coffee
  15. Given there are 1 coffees left in the machine
  16. And I have deposited 1$
  17. When I press the coffee button
  18. Then I should be served a "coffee"
  19. # this a comment
  20. """
  21. this is a
  22. pystring
  23. """