forked from cucumber/messages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestStepFinished.json
61 lines (61 loc) · 1.36 KB
/
TestStepFinished.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "TestStepFinished.json",
"additionalProperties": false,
"definitions": {
"TestStepResult": {
"additionalProperties": false,
"required": [
"duration",
"status"
],
"properties": {
"duration": {
"$ref": "./Duration.json"
},
"message": {
"type": "string",
"description": "An arbitrary bit of information that explains this result. This can be a stack trace of anything else."
},
"status": {
"enum": [
"UNKNOWN",
"PASSED",
"SKIPPED",
"PENDING",
"UNDEFINED",
"AMBIGUOUS",
"FAILED"
],
"type": "string"
},
"exception": {
"$ref": "./Exception.json",
"description": "Exception thrown while executing this step, if any."
}
},
"type": "object"
}
},
"required": [
"testCaseStartedId",
"testStepId",
"testStepResult",
"timestamp"
],
"properties": {
"testCaseStartedId": {
"type": "string"
},
"testStepId": {
"type": "string"
},
"testStepResult": {
"$ref": "#/definitions/TestStepResult"
},
"timestamp": {
"$ref": "./Timestamp.json"
}
},
"type": "object"
}