Nts Testing Patterns

Test-writing patterns for projects scaffolded with nextjs-trpc-prisma-starter. Use whenever the user is writing or reviewing tests in such a project, asks 'how do I test X', wants to add test coverage for a new module, or needs to debug a failing test. Covers service-layer unit tests (the high-value layer), tRPC procedure tests via createCaller (typed, no HTTP), MCP tool tests, route handler tests, and Playwright e2e. Each section explains WHAT to test at that layer and HOW so test effort lands where it pays off.

juncoding 5ffaf93 4 files · 16.8 KB Updated

File contents

juncoding/nextjs-trpc-prisma-starter/tree/main/skills/nts-testing-patterns commit 5ffaf93238

Frequently asked questions

npx skillmds@latest add juncoding/nts-testing-patterns