Split Tests with YAML
List of YAML parameters and examples for the "Split Tests" action
提示
YAML parameters for Split tests
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | The ID of the action. |
type 必填 | String | The type of the action. Should be set to SPLIT_TESTS . |
source_path 必填 | String | The path in the filesystem containing files with tests. |
groups_count 必填 | Integer | The amount of groups to split. Can't be lower than 2. |
files_order | String | Defines how test files should be split. Can be one of BY_FILE_SIZE or ALPHABETICALLY . |
YAML example for Split tests
actions:
- action: "Split Tests"
type: "SPLIT_TESTS"
source_path: "/tests/"
groups_count: 4
files_order: "ALPHABETICALLY"