What problem does it solve?
Writing reliable tests for modern Angular apps—especially those using signals, standalone components, and OnPush change detection—can be slow and error-prone.
Core Features & Use Cases
- Modern test setup: Configures Angular v20+ unit tests with Vitest via @angular/build:unit-test, while also covering Jasmine-based workflows.
- Signal-aware testing: Verifies computed signals, component signal behavior, and deterministic updates when inputs change.
- Practical component/service coverage: Demonstrates testing standalone components, OnPush components, services (including HTTP), and common async patterns.
- Dependency mocking & IO testing: Provides patterns for mocking services (including signal-based services), and testing inputs/outputs and HTTP resources.
Quick Start
Use the Angular Testing skill to create a Vitest-based unit test suite for a standalone, signal-driven component, including an HTTP-backed resource and an OnPush change detection assertion.