Skip to content

Instantly share code, notes, and snippets.

@goughy000
Created July 4, 2016 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goughy000/32b954b47c145d76a4a8dbe80f7bc47c to your computer and use it in GitHub Desktop.
Save goughy000/32b954b47c145d76a4a8dbe80f7bc47c to your computer and use it in GitHub Desktop.
Good and Bad Gherkin
Scenario: Bad Gherkin
Given I open the app
When I enter 'Bob' into the username field
And I enter 'p455w0rd' into the password field
And I click the 'Login' button
Then I am on the home screen
And I should see my latest score
And I should see 'Jim' is online
Scenario: Good Gherkin
Given I am on the Login screen
When I login
Then I should be on the Home screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment