What problem does it solve? Backend code often ships without adequate test coverage, leading to regressions, broken API contracts, and authentication bugs discovered only in production. This Skill provides a structured workflow for writing unit tests, integration tests, and authentication tests with proper isolation, mocking, and coverage enforcement. ## Core Features & Use Cases - Unit Testing: Test pure functions and business logic using the AAA pattern with edge-case coverage, such as password validation rules. - API Integration Testing: Verify REST endpoints with Supertest or FastAPI TestClient, covering success cases, validation errors, duplicate handling, and database state changes. - Auth & Mocking: Test JWT-protected routes, role-based access control, and mock external services like email APIs to keep tests isolated and fast. - Use Case: When adding a new /auth/register endpoint to an Express app, generate a full Jest + Supertest suite covering 201 success, 409 duplicate email, 400 weak password, and 401 login failures, with 80% coverage thresholds enforced in jest.config.js. ## Quick Start Ask the AI to write Jest and Supertest tests for your Express authentication endpoints covering registration, login, and protected routes with at least 80 percent coverage.