File: gherkin.feature

package info (click to toggle)
boost-ext-ut 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 620 kB
  • sloc: cpp: 6,773; makefile: 13; sh: 10
file content (16 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Feature: Calculator

  Scenario: Addition
    Given I have calculator
     When I enter 40
     When I enter 2
     When I press add
     Then I expect 42

  Scenario: Subtraction
    Given I have calculator
     When I enter 45
     When I enter 2
     When I enter 1
     When I press sub
     Then I expect 42