A unit-testing framework for TypeScript backends working with inversion of control and dependency injection
Get Started • Why Suites? • Guides • API Reference
Suites works with projects using: NestJS (Official), InversifyJS (Official), Vitest, Jest, Sinon, and more
Among others, Suites is used by companies like: Monday.com, Lemonade, Balance, Harmonya
One function call creates fully-typed, isolated test environments. Suites auto-generates all mocks and wires dependencies automatically. No manual setup, no type casts, no boilerplate.
Generate type-safe mocks bound to implementations. Eliminate broken tests after refactors, silent runtime failures, and manual type casting.
Change constructors, add dependencies, refactor classes - tests adapt automatically. Skip manual mock updates. Catch breaking changes at compile time, not runtime.
One canonical pattern teaches AI agents the entire API. Coding agents like Claude Code and Cursor write correct tests in a single pass with 95% less context consumption compared to manual mocking patterns.