Skip to main content
Version: 5.2.0.1

Test Profile

A test profile defines a set of test cases to be executed for a given scenario, optionally including a test landscape.

Configuration

The test profile is configured using a JSON file in a specific format. In this file, you define the scenario, specify which tests to include or exclude, and determine which landscape to use for execution.

General Schema

{
"scenarioName": "YourScenarioName",
"includedTests": [
...
],
"excludeTests": [
...
],
"testLandscapes": [
...
]
}

Included Tests

The includedTests field is an array (list) of test cases to be executed. Each test is represented as a JSON object containing its name.

  • If the list is empty, all available tests will be included by default.
  • To include specific tests, add them to the list.
// will add all availabe
"includedTests": []

// add a specific tests
"includedTests": [
{
"name": "YourTestCaseName"
},
...
]

Exclude Tests

The excludeTests field is an array (list) of test cases that should not be executed.

  • This setting takes precedence over includedTests.
  • If a test appears in both includedTests and excludeTests, it will not be executed.
  • The syntax is the same as for includedTests
// no tests will be skipped.
"excludeTests": []

// exclude a specific tests
"excludeTests": [
{
"name": "YourTestCaseName"
},
...
]

Test Landscapes

The testLandscapes field is an array (list) of available test landscapes. The first landscape with the "isActive" attribute set to true will be used for execution.

  • If no landscapes are provided or if all landscapes are inactive, no landscape will be used.
"testLandscapes": [
{
"name": "MyLandscape",
"isActive": true
},
{
"name": "MyDeactivatedLandscape",
"isActive": false
},
]

Default Profile

The default profile is automatically generated whenever a test case or test landscape is created, and it is periodically updated to reflect changes in test cases or landscapes. By default, it includes all test cases and uses the landscape that is configured as the default.

Although it cannot be edited initially, you can rename it and modify it as a starting point.