api-test-e2e
Installation
SKILL.md
E2E Tests
Purpose
Generate end-to-end tests using Jest + Testcontainers for real PostgreSQL, Redis, and RabbitMQ instances with proper setup, teardown, and tenant isolation testing.
Why Jest Instead of node:test?
This repository uses Jest for ALL testing instead of Node.js's built-in node:test runner:
- Issue: nestjs/nest#14130 - NestJS
@nestjs/testingis incompatible withnode:test - Impact:
node:testcannot properly injectQueryBus,CommandBus, or other NestJS providers - Solution: Jest provides full compatibility with NestJS's testing utilities and DI system
Note: These are E2E tests that test the entire application stack. For module-level integration tests with co-located test fixtures, use test-integration.