Created
October 11, 2012 05:00
-
-
Save cjgiridhar/3870272 to your computer and use it in GitHub Desktop.
Lettuce Example Python BDD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Compute fibonacci | |
In order to play with Lettuce | |
As beginners | |
We'll implement fibonacci | |
Scenario: Fibonacci of 0 | |
Given I have the number 0 | |
When I compute its fibonacci | |
Then I see the number 1 | |
Scenario: Fibonacci of 1 | |
Given I have the number 1 | |
When I compute its fibonacci | |
Then I see the number 1 | |
Scenario: Fibonacci of 2 | |
Given I have the number 2 | |
When I compute its fibonacci | |
Then I see the number 2 | |
Scenario: Fibonacci of 3 | |
Given I have the number 3 | |
When I compute its fibonacci | |
Then I see the number 3 | |
Scenario: Fibonacci of 4 | |
Given I have the number 4 | |
When I compute its fibonacci | |
Then I see the number 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment