Split Tests with YAML

YAML parameters for Split tests

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to SPLIT_TESTS.
source_path
Required
StringThe path in the filesystem containing files with tests.
groups_count
Required
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"

Last modified on April 26, 2022

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat or contact support

Get Started

Sign up for free and deploy your project in less than 10 minutes.