circleci-docs icon indicating copy to clipboard operation
circleci-docs copied to clipboard

Argument Validation for circleci tests split

Open sshaw opened this issue 6 months ago • 0 comments

Description

Invalid --timings-type option was passed to circleci tests run. This resulted in the timings not being found. An invalid argument should result in a non-zero exit code, not execution of the command.

Location

Is there even online documentation for circleci tests run's arguments? I had to SSH in and run --help 😕

Steps to Reproduce

We were splitting test as follows:

circleci tests run --command="something amaaaaaazing" --split-by=timings  --timings-type=name

Note the --timings-type=name. This is incorrect and should be filename.

sshaw avatar Aug 02 '24 17:08 sshaw