Create configuration files
Your test suite must contain the following required configuration files:
Required files
suite.json-
Contains information about the test suite. See Configure suite.json.
group.json-
Contains information about a test group. You must create a
group.jsonfile for each test group in your test suite. See Configure group.json. test.json-
Contains information about a test case. You must create a
test.jsonfile for each test case in your test suite. See Configure test.json.
-
In the
MyTestSuite_1.0.0/suitefolder, create asuite.jsonfile with the following structure:{ "id": "MyTestSuite_1.0.0", "title": "My Test Suite", "details": "This is my test suite.", "userDataRequired": false } -
In the
MyTestSuite_1.0.0/myTestGroupfolder, create agroup.jsonfile with the following structure:{ "id": "MyTestGroup", "title": "My Test Group", "details": "This is my test group.", "optional": false } -
In the
MyTestSuite_1.0.0/myTestGroup/myTestCasefolder, create atest.jsonfile with the following structure:{ "id": "MyTestCase", "title": "My Test Case", "details": "This is my test case.", "execution": { "timeout": 300000, "linux": { "cmd": "python3", "args": [ "myTestCase.py" ] }, "mac": { "cmd": "python3", "args": [ "myTestCase.py" ] }, "win": { "cmd": "python3", "args": [ "myTestCase.py" ] } } }
The directory tree for your MyTestSuite_1.0.0 folder should
now look like the following:
MyTestSuite_1.0.0 └── suite ├── suite.json └── myTestGroup ├── group.json └── myTestCase └── test.json