Skip to content
masterclass Buddy

Angular · Command

ng test

Runs Angular tests for one project or all workspace projects. It supports Vitest or Karma and options for browsers, files, reporters, builds, and debugging.

Last updated

Syntax

ng test [project] [options]
ng t [project] [options]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ng t
  • --debug
  • --include
  • --list-tests
  • --runner
  • --runner-config

Source: ng test • Angular. Checked 2026-11-03.