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 | properties:
|
9 | topic:
|
10 | type: string
|
11 | description: 'The component/graph under test'
|
12 | example: 'MyComponent3'
|
13 | name:
|
14 | type: string
|
15 | description: 'Name of this test suite. Topic is used if no name is provided.'
|
16 | default: ''
|
17 | fixture:
|
18 | type: object
|
19 | description: 'The graph fixture to run for each test case'
|
20 | cases:
|
21 | type: array
|
22 | description: 'The test cases'
|
23 | items:
|
24 | "$ref": "testcase.json"
|
25 | default: []
|
26 | timeout:
|
27 | type: number
|
28 | description: 'Timeout (in milliseconds) for setup and default for each test case.'
|
29 | default: 2000
|
30 | skip:
|
31 | type: string
|
32 | description: |
|
33 | Flag to skip test suite (and all containing test cases).
|
34 | Should be a description of the reason for skipping.
|
35 |
|
36 | required: [topic]
|