CmdID

CmdID / Commands

ng-test

Run unit tests in a project. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run unit tests in a project. Note: Some commands might require additional packages such as Vitest.

Run unit tests

Run unit tests using a specific configuration

ng [t --configuration developmentIdentify

Specify the browsers to use for test execution

ng [t --browsers firefoxIdentify

Enable code coverage

ng [t --coverageIdentify

Generate a coverage report in a specific format

ng [t --coverage --coverage-reporters coberturaIdentify

Enable debug mode for tests

ng [t --debugIdentify

List all discovered test files without building or running tests

ng [t --list-testsIdentify