Created
November 16, 2017 20:33
-
-
Save newswim/1f43d1f1529edf5731fef87502a8db9b to your computer and use it in GitHub Desktop.
An example of an acceptance test using BDD and Gherkin syntax
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: Google Searching | |
As a web surfer, I want to search Google, so that I can learn new things. | |
Scenario: Simple Google search | |
Given a web browser is on the Google page | |
When the search phrase "panda" is entered | |
Then results for "panda" are shown | |
And the result page displays the text | |
""" | |
Scientific name: Ailuropoda melanoleuca | |
Conservation status: Endangered (Population decreasing) | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment