Create configuration files - FreeRTOS

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.json file 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.json file for each test case in your test suite. See Configure test.json.

  1. In the MyTestSuite_1.0.0/suite folder, create a suite.json file with the following structure:

    { "id": "MyTestSuite_1.0.0", "title": "My Test Suite", "details": "This is my test suite.", "userDataRequired": false }
  2. In the MyTestSuite_1.0.0/myTestGroup folder, create a group.json file with the following structure:

    { "id": "MyTestGroup", "title": "My Test Group", "details": "This is my test group.", "optional": false }
  3. In the MyTestSuite_1.0.0/myTestGroup/myTestCase folder, create a test.json file 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