Skip to content

Instantly share code, notes, and snippets.

@aehlke
Created September 16, 2015 21:00
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 aehlke/c7f691cdd4807a737b0a to your computer and use it in GitHub Desktop.
Save aehlke/c7f691cdd4807a737b0a to your computer and use it in GitHub Desktop.
behave --dry-run --formatter json.pretty --no-summary
[
{
"elements": [
{
"keyword": "Scenario",
"location": "features/test.feature:3",
"name": "Redacted name of a scenario here",
"steps": [
{
"keyword": "Given",
"location": "features/test.feature:4",
"name": "I do something",
"step_type": "given"
},
{
"keyword": "And",
"location": "features/test.feature:5",
"name": "I do something else",
"step_type": "given"
},
{
"keyword": "When",
"location": "features/test.feature:7",
"name": "I click on button that has text Next",
"step_type": "when"
},
{
"keyword": "Then",
"location": "features/test.feature:8",
"name": "I should see text Account Details",
"step_type": "then"
}
],
"tags": [],
"type": "scenario"
}
],
"keyword": "Feature",
"location": "features/test.feature:1",
"name": "Basic Test",
"status": "untested",
"tags": []
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment