Angular CLI - ng e2e
Run end-to-end tests through a configured project target or builder.

How it works
ng e2e runs an end-to-end test target when one is configured. A new workspace does not necessarily include an e2e builder or test framework; add and configure a compatible tool first. The CLI command is an entry point to that builder, not the test runner itself.
Good practice
- Check the local Angular CLI version and run commands from the intended workspace.
- Review angular.json targets and builders before assuming optional commands are configured.
- Use the package manager and lockfile selected by the project.
- Review generated files, configuration changes, and build output before committing or deploying.
Further reading: Tutorialspoint: Angular CLI - ng e2e · Current Angular CLI reference · Workspace configuration.
Back to course overview · Previous: Angular CLI - ng test · Next: Angular CLI - ng add