Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
An example of an acceptance test using BDD and Gherkin syntax
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
You can’t perform that action at this time.