Good tests keep your NestJS app working smoothly. This skill helps you write clear tests using Jest. You will learn how to test services, modules, and controllers.
Unit tests check small pieces of logic. Integration tests test whole modules with real parts. End to end tests make sure your HTTP APIs work right. The testing pyramid guides you to the right type for each job.
You will use Test.createTestingModule to set up test environments. Mock outside services with jest.fn. For databases, use in memory adapters. Keep your tests fast and reliable.
Global
mkdir -p ~/.claude/skills/nestjs-testing-expertProject
mkdir -p .claude/skills/nestjs-testing-expertGrill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step