Skip to main content

Usage

npx stryker <command> [options] [configFile]

The main command for Stryker is run, which kicks off mutation testing.

By default, Stryker will look for a stryker.config.json, stryker.config.js or other variations files in the current working directory (if it exists). This can be overridden by specifying a different file as the last argument.

Before your first run, we recommend you try the init command, which helps you to set up this config file and install any missing packages needed for your specific configuration. We recommend you verify the contents of the configuration file after this initialization, to make sure everything is setup correctly. Of course, you can still make changes to it, before you run Stryker for the first time.