Skip to content

laurentbristiel/cucumber_poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

from the root of the project, just launch cucumber and it will execute the tests

$ cucumber
Feature: add money to become rich

  Scenario Outline: add a little bit of money to an account # features/addMoneyToAccount.feature:3
    Given an account that is "<initial>" euros balanced     # features/step_definitions/addMoneyToAccount.rb:3
    When I add "<pay>" euros to the account                 # features/step_definitions/addMoneyToAccount.rb:7
    Then the account balance should be "<final>" euros      # features/step_definitions/addMoneyToAccount.rb:11

    Examples:
      | initial | pay | final |
      | 10      | 20  | 30    |
      | 10      | 30  | 40    |
      | 10      | 100 | 110   |

3 scenarios (3 passed)
9 steps (9 passed)
0m0.012s

About

POC of cucumber testing tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages