UNPKG

1.14 kBJSONView Raw
1{
2 "id": "testsuite.json",
3 "$schema": "http://json-schema.org/draft-04/schema",
4 "title": "Test suite",
5 "description": "A collection of test cases",
6 "type": [
7 "object"
8 ],
9 "properties": {
10 "topic": {
11 "type": "string",
12 "description": "The component/graph under test",
13 "example": "MyComponent3"
14 },
15 "name": {
16 "type": "string",
17 "description": "Name of this test suite. Topic is used if no name is provided.",
18 "default": ""
19 },
20 "fixture": {
21 "type": "object",
22 "description": "The graph fixture to run for each test case"
23 },
24 "cases": {
25 "type": "array",
26 "description": "The test cases",
27 "items": {
28 "$ref": "testcase.json"
29 },
30 "default": []
31 },
32 "timeout": {
33 "type": "number",
34 "description": "Timeout (in milliseconds) for setup and default for each test case.",
35 "default": 2000
36 },
37 "skip": {
38 "type": "string",
39 "description": "Flag to skip test suite (and all containing test cases).\nShould be a description of the reason for skipping.\n"
40 }
41 },
42 "required": [
43 "topic"
44 ]
45}
\No newline at end of file