Skip to content

Instantly share code, notes, and snippets.

@barneywilliams
Created May 23, 2012 06:01
Show Gist options
  • Save barneywilliams/2773486 to your computer and use it in GitHub Desktop.
Save barneywilliams/2773486 to your computer and use it in GitHub Desktop.
Cucumber-Cpp Example Trace
Scenario: Regular numbers # division.feature:6
> ["begin_scenario"]
< ["success"]
> ["step_matches",
{
"name_to_match":"I have entered 3 into the calculator"
}
]
< ["success",
[
{
"regexp":"^I have entered (\\d+) into the calculator$",
"args":[{"val":"3","pos":15}],
"id":"1",
"source":"GTestCalculatorSteps.cpp:11"
}
]
]
> ["invoke",
{
"args":["3"],
"id":"1"
}
]
< ["success"]
Given I have entered 3 into the calculator # GTestCalculatorSteps.cpp:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment