115 строки
4 КиБ
Text
115 строки
4 КиБ
Text
[
|
|
{
|
|
"uri": "formatter-tests/features/two_scenarios_with_background_fail.feature",
|
|
"id": "two-scenarios-with-background-fail",
|
|
"keyword": "Feature",
|
|
"name": "two scenarios with background fail",
|
|
"description": "",
|
|
"line": 1,
|
|
"elements": [
|
|
{
|
|
"id": "two-scenarios-with-background-fail;one",
|
|
"keyword": "Scenario",
|
|
"name": "one",
|
|
"description": "",
|
|
"line": 7,
|
|
"type": "scenario",
|
|
"steps": [
|
|
{
|
|
"keyword": "Given ",
|
|
"name": "passing step",
|
|
"line": 4,
|
|
"match": {
|
|
"location": "formatters_print_test.go:63"
|
|
},
|
|
"result": {
|
|
"status": "passed",
|
|
"duration": 0
|
|
}
|
|
},
|
|
{
|
|
"keyword": "And ",
|
|
"name": "failing step",
|
|
"line": 5,
|
|
"match": {
|
|
"location": "formatters_print_test.go:79"
|
|
},
|
|
"result": {
|
|
"status": "failed",
|
|
"error_message": "step failed",
|
|
"duration": 0
|
|
}
|
|
},
|
|
{
|
|
"keyword": "When ",
|
|
"name": "passing step",
|
|
"line": 8,
|
|
"match": {
|
|
"location": "formatters_print_test.go:63"
|
|
},
|
|
"result": {
|
|
"status": "skipped"
|
|
}
|
|
},
|
|
{
|
|
"keyword": "Then ",
|
|
"name": "passing step",
|
|
"line": 9,
|
|
"match": {
|
|
"location": "formatters_print_test.go:63"
|
|
},
|
|
"result": {
|
|
"status": "skipped"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "two-scenarios-with-background-fail;two",
|
|
"keyword": "Scenario",
|
|
"name": "two",
|
|
"description": "",
|
|
"line": 11,
|
|
"type": "scenario",
|
|
"steps": [
|
|
{
|
|
"keyword": "Given ",
|
|
"name": "passing step",
|
|
"line": 4,
|
|
"match": {
|
|
"location": "formatters_print_test.go:63"
|
|
},
|
|
"result": {
|
|
"status": "passed",
|
|
"duration": 0
|
|
}
|
|
},
|
|
{
|
|
"keyword": "And ",
|
|
"name": "failing step",
|
|
"line": 5,
|
|
"match": {
|
|
"location": "formatters_print_test.go:79"
|
|
},
|
|
"result": {
|
|
"status": "failed",
|
|
"error_message": "step failed",
|
|
"duration": 0
|
|
}
|
|
},
|
|
{
|
|
"keyword": "Then ",
|
|
"name": "passing step",
|
|
"line": 12,
|
|
"match": {
|
|
"location": "formatters_print_test.go:63"
|
|
},
|
|
"result": {
|
|
"status": "skipped"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|