ng-test
Run unit tests in a project. tldr-pages
On several platforms
Several platforms
Run unit tests in a project. Note: Some commands might require additional packages such as Vitest.
Run unit tests
ng [tIdentifyRun unit tests using a specific configuration
ng [t --configuration developmentIdentifySpecify the browsers to use for test execution
ng [t --browsers firefoxIdentifyEnable code coverage
ng [t --coverageIdentifyGenerate a coverage report in a specific format
ng [t --coverage --coverage-reporters coberturaIdentifyEnable debug mode for tests
ng [t --debugIdentifyList all discovered test files without building or running tests
ng [t --list-testsIdentify