Created
December 17, 2013 17:34
-
-
Save pbattisson/8009091 to your computer and use it in GitHub Desktop.
Calculator example for BDD in Apex on Force.com
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: Addition | |
In order to avoid silly mistakes | |
As a math idiot | |
I want to be told the sum of 2 numbers | |
Scenario: Add two numbers | |
Given I have a calculator | |
And 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment