angular-unit-test

Community

Generate robust Angular 21 unit tests with Vitest.

AuthorShockwave2k
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates, scaffolds, and fixes Angular 21 unit tests using Vitest to speed up development and ensure test coverage across components, services, pipes, and directives.

Core Features & Use Cases

  • Generates test templates for standalone components, NgModule-based components, services, pipes, and directives.
  • Handles common Angular testing patterns (TestBed, ComponentFixture, signals in Angular 16+, OnPush change detection, ActivatedRoute and HTTP testing).
  • Provides guidance for best practices, naming conventions, and edge-case handling to ensure reliable tests.

Quick Start

Generate unit tests for a given Angular 21 component or service using Vitest and follow the standard Angular testing patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: angular-unit-test
Download link: https://github.com/Shockwave2k/team-claude-skills/archive/main.zip#angular-unit-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.