sdcorejs-testing-unit-angular-portal

Community

Write fast Angular unit tests confidently

Authorsdcorejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Unit testing small Angular Portal building blocks (validators, pipes, mappers, and single service methods) without slow flaky integration setups.

Core Features & Use Cases

  • Validator unit tests: Table-driven it.each coverage for edge cases in Angular Reactive Forms.
  • Pipe unit tests: TestBed-based isolated checks for formatting, null handling, and locale behavior.
  • Service method isolation: Mocked HttpClient or use HttpClientTestingModule to avoid real network calls.
  • Mapper / pure function tests: Deterministic assertions for mapping and formatting rules.
  • Async validator patterns: fakeAsync + tick() for RxJS-based validators.
  • Guard / interceptor tests: TestBed.runInInjectionContext for function-based Angular APIs.

Quick Start

Ask the skill: "Write unit tests for my Angular-portal validator/service method, covering happy path and unhappy path cases without hitting the network."

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: sdcorejs-testing-unit-angular-portal
Download link: https://github.com/sdcorejs/sdcorejs-agent/archive/main.zip#sdcorejs-testing-unit-angular-portal

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.