What problem does it solve?
Generates well-structured, production-quality unit tests for a full-stack TypeScript monorepo, reducing flaky tests and guidance gaps when developers need reliable coverage for services, consumers, controllers, hooks, stores, and schemas.
Core Features & Use Cases
- Backend service tests: Generate Jest-based NestJS service specs with mocked repositories, DataSource transaction and QueryRunner handling, QueryBuilder chain mocks, and BaseRpcException assertions.
- Message consumer tests: Validate RabbitMQ consumer handlers with ack/nack behavior and channel mocking for success and failure paths.
- Frontend tests: Produce Vitest/RTL tests for React hooks, TanStack Query hooks, and Zustand stores, including renderHook usage, QueryClient wrappers, and schema validation tests for Zod.
- Test scaffolding & factories: Create typed mock factories, clear beforeEach module setup, and flag existing anti-patterns to ensure best practices are followed.
Quick Start
Write unit tests for apps/notifications/notifications.service.ts covering findById, create, update, remove, and permission/error scenarios.