forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbehat.json
90 lines (90 loc) · 2.26 KB
/
behat.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON schema for Behat configuration files",
"type": "object",
"properties": {
"default": {
"title": "Default profile",
"$ref": "#/definitions/profile"
},
"imports": {
"type": "array",
"items": {"type": "string"},
"uniqueItems": true
}
},
"additionalProperties": {
"title": "Profile name",
"$ref": "#/definitions/profile"
},
"definitions": {
"profile": {
"title": "Profile",
"type": "object",
"properties": {
"autoload": {
"type": "object",
"additionalProperties": {"type": "string"}
},
"formatters": {
"title": "How to format tests output",
"default": "pretty",
"type": "object",
"properties": {
"pretty": {
"title": "Prints the feature as is",
"type": "boolean"
},
"progress": {
"title": "Prints one character per step",
"type": "boolean"
},
"junit": {
"title": "Outputs the failures in JUnit compatible files.",
"type": "boolean"
}
},
"additionalProperties": false
},
"suites": {
"title": "Test suites",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/suite"
}
},
"extensions": {
"title": "Behat extensions",
"type": "object",
"additionalProperties": {"type": "object"}
}
}
},
"suite": {
"title": "Test suite",
"type": "object",
"properties": {
"paths": {
"title": "Paths to execute",
"type": "array",
"items": {"type": "string"},
"uniqueItems": true
},
"contexts": {
"title": "Suite contexts",
"type": "array",
"items": {"type": ["string", "object"]},
"uniqueItems": true
},
"filters": {
"title": "Suite filters",
"type": "object",
"properties": {
"tags": {"type": "string"},
"role": {"type": "string"}
}
}
}
}
}
}