Skip to main content
Version: 1.x

CLI

The corde command line runner has a number of useful options. Some of the options shown below can also be used together to run tests exactly the way you want. Some one of Corde's Configuration options can also be specified through the CLI.

We are working to make all the configuration options available in CLI.

Running from the command line

Run all tests (default):

corde

Run only the tests that were specified with a pattern or filename:

corde path/to/test.js
info

You can run corde --help to view all available options.

Available Commands

--init

Alias: -i
Default: json
Options: js json ts

Initialize a config file. The available file formats are: .js, .json, .ts.

corde --init js

--validate

Alias: -v

Search for corde configs and check if all required data is setted. Also check if file paths are valid. This does not check if tokens are valid.

corde --validate