TDD Vitest enforces a strict test-driven development methodology tailored for React and Next.js codebases using Vitest and React Testing Library. Rather than generating mass tests after code is written, it directs AI to first name behaviors, author minimal failing tests that verify correct failure reasons, implement the simplest production code to pass, and refactor cleanly. It includes pragmatic testing strategies for Next.js Server Components and Server Actions by targeting pure logic and architectural seams, while clearly distinguishing between unit/integration needs and Playwright end-to-end backlogs.
주요 기능
01Tailored for Vitest and React Testing Library in React and Next.js projects
02Distinguishes fast unit/integration testing loops from Playwright E2E suites
03Prevents over-mocking by focusing on boundary mocks and fake data factories
04Provides pragmatic testing seams for Next.js Server Components and Server Actions
05Enforces strict red-green-refactor test loops before writing production code
060 GitHub stars
사용 사례
01Driving new React client component or hook functionality through isolated test cycles
02Implementing Next.js route handlers or pure domain logic using test-first development
03Refactoring complex business logic while maintaining zero-breakage test coverage