ng test

This is the documentation for Angular 6.
You can switch to the latest version Angular 9.
ng test [--[argument]=[value]]

Alias for the command:

ng run [project]:test

In the default configuration for ng test using builder karma.

With this command you can override any builder's option.

Links & Tutorials

Options

--prod#

Flag to set configuration to production.

Alias for the command:

ng run [default-project]:test:production
Type boolean

--configuration#

Specify the configuration to use.

Type string
Aliases c