What problem does it solve?
This Skill enables rapid testing of Angular v21+ applications by providing comprehensive guidelines and patterns for unit and integration tests, including signal-based components, OnPush change detection, and HTTP interactions.
Core Features & Use Cases
- Vitest setup and usage for Angular v21+ projects, with guidance on configuring tests in a realistic company project.
- Jasmine compatibility guidance for environments still using Jasmine and Karma.
- Test patterns for signals, dependency injection, and HTTP client interactions, plus component harnesses and deterministic tests.
- Use Case: Validate a Counter component that uses signals and OnPush change detection, or mock a HttpClient service to verify data flows without real network calls.
Quick Start
Install Vitest and set up a basic Angular test scaffold. Then run tests with a single command and iterate on test-driven development with signal-based components.