test-coverage-builder
CommunityAchieve 95% test coverage, effortlessly.
AuthorMichael0520
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing comprehensive unit tests for Angular applications, especially to meet high coverage targets across different architectural layers (Domain, Features, UI), is a significant effort. This Skill automates test generation and guides coverage improvement.
Core Features & Use Cases
- Layer-Specific Test Generation: Creates tailored test templates for Domain (services, stores), Features (components), and UI (components) layers, targeting specific coverage goals (95%, 80%, 60%).
- API Contract Testing: Generates tests for service methods, ensuring correct API endpoints, request/response formats, and error handling.
- SignalStore & Component Interaction Testing: Provides templates for testing
@ngrx/signalsstores and component interactions, including state changes and user events. - Use Case: You've just created a new Angular module and need to add tests. Say "add tests for user service" or "improve test coverage", and Claude will generate the necessary test files and guide you to meet coverage targets.
Quick Start
Say "add tests for user service" to generate a test file for your UserService.
Dependency Matrix
Required Modules
None requiredComponents
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: test-coverage-builder Download link: https://github.com/Michael0520/milo-claude/archive/main.zip#test-coverage-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.