This skill equips developers with a standardized testing framework specifically tailored for modern Next.js environments integrated with Supabase. It offers pre-configured patterns for unit, integration, and E2E testing, including sophisticated Supabase mock factories, auth session caching strategies, and role-based access control verification. By providing clear guidance on when to run or write tests, it helps teams maintain high code quality, prevent regressions in complex data transfer logic, and achieve high test coverage across hooks, API routes, and UI components.
Key Features
01Integrated MSW and React Testing Library setups for component verification
02Detailed coverage reports and watch mode workflows for TDD
03Vitest and Playwright configuration for unit and E2E testing
041 GitHub stars
05Extensible Supabase mock factories for database and auth simulation
06Standardized patterns for Next.js App Router API route and hook testing