Skip to content

Instantly share code, notes, and snippets.

@isra17
Created November 1, 2012 18:09
Show Gist options
  • Save isra17/3995456 to your computer and use it in GitHub Desktop.
Save isra17/3995456 to your computer and use it in GitHub Desktop.
Json result from cucumber tests
[
{
"id":"Navigation",
"name":"Navigation",
"description":"In order to access all feature in SPD\nAs a SPD user\nI want to navigate through the sections",
"line":1,
"keyword":"Feature",
"uri":"(feature)",
"elements":[
{
"name":"Go to service",
"id":"Navigation;go-to-service",
"line":6,
"keyword":"Scenario",
"description":"",
"type":"scenario",
"steps":[
{
"name":"the user is in status",
"line":7,
"keyword":"Given ",
"result":{
"status":"passed"
},
"match":{
}
},
{
"name":"I click the service tab",
"line":8,
"keyword":"When ",
"result":{
"status":"passed"
},
"match":{
}
},
{
"name":"service section should be active",
"line":9,
"keyword":"Then ",
"result":{
"status":"passed"
},
"match":{
}
},
{
"name":"status section should be inactive",
"line":10,
"keyword":"And ",
"result":{
"status":"passed"
},
"match":{
}
}
]
},
{
"name":"Stay in same section",
"id":"Navigation;stay-in-same-section",
"line":12,
"keyword":"Scenario",
"description":"",
"type":"scenario",
"steps":[
{
"name":"the user is in status",
"line":13,
"keyword":"Given ",
"result":{
"status":"passed"
},
"match":{
}
},
{
"name":"I click the status tab",
"line":14,
"keyword":"When ",
"result":{
"status":"passed"
},
"match":{
}
},
{
"name":"status section should be active",
"line":15,
"keyword":"Then ",
"result":{
"status":"passed"
},
"match":{
}
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment