What problem does it solve?
Writing and maintaining trustworthy automated tests for Angular v20+ apps becomes slow and error-prone, especially when components use signals, standalone patterns, OnPush change detection, and modern HTTP flows.
Core Features & Use Cases
- Unit and integration testing for Angular v20+: Validate standalone components and their signal-driven behavior using TestBed.
- Signal-focused test strategies: Test computed/effect behavior by driving signals directly and asserting derived outputs.
- Modern Angular testing support: Cover OnPush components, input/output signal patterns, async timing (fakeAsync/tick/flush), and HTTP interactions via HttpTestingController.
- Mocking and dependency isolation: Replace services with Vitest mocks and verify calls, signal updates, and UI outcomes deterministically.
- Use case: You have a signal-based dashboard component that fetches user data and derives computed views; use this skill to write focused unit tests that verify state transitions, DOM rendering, and HTTP request/response handling.
Quick Start
Use the angular-testing skill to generate Vitest-based unit and integration tests for your Angular v20+ signal-driven components by following the provided setup and example patterns.