跳到主要内容

Split Tests with YAML

List of YAML parameters and examples for the "Split Tests" action

YAML parameters for Split tests

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to SPLIT_TESTS.
source_path
必填
StringThe path in the filesystem containing files with tests.
groups_count
必填
IntegerThe amount of groups to split. Can't be lower than 2.
files_orderStringDefines 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"