sdcorejs-testing-integration-angular-portal

Community

Write Angular integration tests that catch wiring bugs

Authorsdcorejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents Angular Portal integration regressions by validating real DI, component lifecycle, router navigation, and mocked HTTP boundaries in a single integration spec rather than isolated unit tests.

Core Features & Use Cases

  • TestBed-driven collaborator integration: Render a component with its real service/DI wiring while mocking the network via HttpClientTestingModule.
  • RouterTestingHarness navigation assertions: Verify form submit flows and route changes using a real router harness.
  • Core UI stubbing with ng-mocks: Avoid heavy @sd-angular/core imports while still asserting DOM behavior.
  • Workflow action coverage: Test permission-allowed and permission-denied action paths and the resulting API calls + UI updates.

Quick Start

Use the skill to create an integration spec for ProductListComponent and ProductCreateComponent, mocking HTTP and asserting DOM rendering plus navigation after submit.

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