Skip to content

Instantly share code, notes, and snippets.

@jharmn
Created January 21, 2013 01:11
Show Gist options
  • Select an option

  • Save jharmn/4582935 to your computer and use it in GitHub Desktop.

Select an option

Save jharmn/4582935 to your computer and use it in GitHub Desktop.
Cucumber example
@Positive @Get @User
Scenario: Show twitter user
Given I access the resource url "/1/users/show.json"
And I provide parameter "screen_name" as "jasonh_n_austin"
And I provide parameter "include_entities" as "true"
When I retrieve the results
Then the status code should be 200
And it should have the field "name" containing the value "Jason Harmon"
And it should have the field "id" containing the value "57005215"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment