Captain CLI Reference

Captain CLI is a test and build analytics and performance tool.

Captain CLI is primarily configured through a configuration file. However, some runtime options must be provided via command line flags or environment variables.


captain <command> [OPTIONS]

The commands are:

run                          Executes a test suite considering quarantines, flakes, retries, and file partitioning
partition                    Partition test suite using file timings
quarantine                   Execute a test suite and modify exit code based on quarantined tests
add [flake,quarantine]       Adds a resource to captain
remove [flake,quarantine]    Removes a resource from captain
update [results]             Updates captain test results

help                         Prints detailed help for captain commands