addition.feature 510 B

123456789101112131415161718
  1. # language: en
  2. Feature: Addition
  3. In order to avoid silly mistakes
  4. As a math idiot
  5. I want to be told the sum of two numbers
  6. Scenario: Add two numbers
  7. Given I have entered 11 into the calculator
  8. And I have entered 12 into the calculator
  9. When I press add
  10. Then the result should be 23 on the screen
  11. Scenario: Div two numbers
  12. Given I have entered 10 into the calculator
  13. And I have entered 2 into the calculator
  14. When I press div
  15. Then the result should be 5 on the screen