Skip to content

Instantly share code, notes, and snippets.

@rdpanek
Last active December 20, 2015 22:48
Show Gist options
  • Save rdpanek/6207221 to your computer and use it in GitHub Desktop.
Save rdpanek/6207221 to your computer and use it in GitHub Desktop.
#result example
{
"identificator": "builder",
"requirement": "prihlaseni_pres_facebook",
"status": "passed",
"dateTimeResult": "2013-08-13T12:12Z",
"duration": 6,
"report": [
{
"sentence": "I'm on page facebook.com",
"status": "passed",
"comment": "optional"
},
{
"sentence": "Second sentence",
"status": "failed",
"comment": "optional comment"
},
{
"sentence": "Third sentence",
"status": "skipped",
"comment": "optional comment"
}
],
"dom": "/dom.txt",
"page": "http://",
"browser": "chrome"
}
# pokud je jeden krok ve scenari oznacen jako failed, měli by následující kroky být označeny jako skipped.
# json-schema
identificator:
type: "string"
required: true
requirement:
type: "string"
required: true
status:
enum: [
"passed"
"failed"
]
dateTimeResult: #iso 6801
type: "date-time"
required: true
duration:
type: "number"
report:
type: "array"
dom:
type: "string"
page:
type: "string"
browser:
type: "string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment