Sha256: fecb6f78620a2ae7c0b54f27735ccfd8726694f0c726fe8f8e1e82dbe1b2f16f

Contents?: true

Size: 865 Bytes

Versions: 177

Compression:

Stored size: 865 Bytes

Contents

Feature: Addition
  In order to avoid silly mistakes
  As a math idiot
  I want to be told the sum of two numbers

  Scenario: Add two numbers
    Given I have entered 50 into the calculator
    And I have entered 70 into the calculator
    When I press add
    Then the result should be 120 on the screen

  More Examples:
    | input_1 | input_2 | button | output |
    | 20      | 30      | add    | 50     |
    | 2       | 5       | add    | 7      |
    | 0       | 40      | add    | 40     |

  Scenario: Add three numbers
    Given I have entered 25 into the calculator
    And I have entered 12 into the calculator
    And I have entered 13 into the calculator
    When I press add
    Then the result should be 50 on the screen

  More Examples:
    | input_1 | input_2 | input_3 | button | output |
    | 1       | 2       | 3       | add    | 6      |

Version data entries

177 entries across 177 versions & 14 rubygems

Version Path
aslakhellesoy-cucumber-0.1.100.1 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.100.2 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.100.3 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.100.4 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.100.5 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.16.3 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.16.4 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.16.5 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.1 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.10 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.11 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.12 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.13 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.14 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.15 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.17 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.18 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.19 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.2 spec/cucumber/treetop_parser/multiple_tables.feature
aslakhellesoy-cucumber-0.1.99.20 spec/cucumber/treetop_parser/multiple_tables.feature