webapp-testing

Installation
SKILL.md

Webapp Testing — Full Stack Pipeline Mastery


Mandatory Pre-Flight Context Inspection

Before building web application test suites or configuring component mocks, you MUST inspect:

  1. Testing Trophy Allocation (Section 27) → Prioritize Integration tests (60% RTL + MSW) over pure Unit (20%) or E2E (10%)
  2. MSW Network Interception Rule (Section 40) → Intercept HTTP network calls via MSW (setupServer); ban mocking library clients like axios.get.mockResolvedValue
  3. Decouple Business Logic from React (Section 99) → Extract complex calculations into pure testable functions outside React components

Activation Boundaries

  • Activate when: Operating in tasks requiring Comprehensive Web Application Testing strategy. Test Pyramid, Vitest/Jest for unit logic, React Testing Library for component integrity, MSW (Mock Service Worker) for API layer simulation, and visual regression. Use when setting up testing environments or defining global test strategies across a web stack..
  • DO NOT activate when: The task falls strictly outside webapp-testing domain or belongs to a different dedicated specialist.

Hallucination Traps (Read First)

Installs
3
GitHub Stars
7
First Seen
Apr 26, 2026