angular-testing

Configure and execute Angular tests across Karma/Jasmine, Jest, and end-to-end frameworks.

9|1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/AratKruglik/antigravity-sdlc --skill angular-testing-aratkruglik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-testing
Source: https://github.com/AratKruglik/antigravity-sdlc/tree/main/plugins/angular-plugin/skills/angular-testing
Command: npx skills add https://github.com/AratKruglik/antigravity-sdlc --skill angular-testing-aratkruglik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Angular testing can be complex when multiple toolchains (Karma/Jasmine, Jest) and testing approaches (component tests, NgRx, HTTP mocks, end-to-end) are involved. This skill provides practical guidance to configure, write, and migrate Angular tests for reliability and speed.

Core Features & Use Cases

  • Guidance on selecting and configuring Karma/Jasmine vs Jest based on project needs.
  • Techniques for testing components with TestBed, harnesses, signal-based inputs, and HTTP mocking.
  • Patterns for NgRx effects testing and integration tests with Cypress or Playwright.

Quick Start

Install angular-testing in your project and begin writing unit tests using TestBed and Jest or Karma based on your setup.

Frequently Asked Questions about angular-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Angular testing from Karma and Jasmine to Jest?

Migrating Angular testing from Karma and Jasmine to Jest involves updating your test runner configuration and adjusting test setup patterns. This skill provides migration guidance to transition between these toolchains for improved test reliability and execution speed.

What is the best way to test Angular components with signal-based inputs?

The best way to test Angular components with signal-based inputs is by utilizing TestBed and component harnesses. This skill provides techniques for configuring TestBed to handle signal-based inputs and HTTP mocking effectively.

How do I write unit tests for NgRx effects in an Angular application?

To write unit tests for NgRx effects in an Angular application, you apply specific patterns to mock actions and manage observable streams. This skill outlines NgRx testing patterns to verify effects logic within your test suite.

Does this Angular testing guidance cover end-to-end frameworks like Cypress and Playwright?

Yes, this Angular testing guidance covers end-to-end frameworks like Cypress and Playwright. It provides patterns for writing integration tests and end-to-end test scenarios to validate your Angular application's behavior comprehensively.

Can I use Jest for HTTP testing and mocking in Angular services?

Yes, you can use Jest for HTTP testing and mocking in Angular services. This skill offers techniques for HTTP mocking and configuring Jest to test Angular services and their interactions effectively.