Suites is a unit-testing framework for TypeScript backend systems working with dependency injection It provides a declarative, type-safe API that eliminates manual mocking and boilerplate.
It provides a declarative API that automatically sets up test environments, creates type-safe mocks bound to real implementations, tracks dependency usage to prevent missing mocks, and offers an AI-ready, concise, and fail-fast format that coding agents can use to generate correct tests in a single pass.
Suites is fully open-source, trusted by teams at enterprises like Monday and Lemonade, works seamlessly with NestJS, InversifyJS, Jest, Sinon, and Vitest, and with 500K weekly downloads on npm.
Suites is an open-source unit-testing framework for TypeScript backends with dependency injection.
- for
- TypeScript backend developers using NestJS, InversifyJS, Jest, Sinon or Vitest.
- pricing
- open source
- license
- Apache-2.0
works withNestJSInversifyJSJestSinonVitest
Key features
5 features of Suites
- Declarative API — Define tests without manual mocking or boilerplate.
- Type-safe Mocks — Automatically generate mocks that match real implementations.
- Dependency Usage Tracking — Detect missing mocks by tracking which dependencies are used.
- AI-ready Test Format — Concise, fail-fast syntax that AI agents can use to generate correct tests in one pass.
- Open-source & Popular — Fully open-source with 500K weekly npm downloads and enterprise adoption.
Use cases
- Write unit tests for NestJS services without hand-written mocks
- Generate type-safe mocks for InversifyJS-based classes
- Create fast, fail-first test suites that AI agents can auto-complete
- Replace manual Jest/Sinon mock setups with declarative definitions
Suites vs alternatives
Suites | Automock | |
|---|---|---|
| Best for | Declarative, type-safe unit tests | Simplified mock generation |
| Pricing | Open source | Free |
| DevHunt upvotes | 3 | 148 |
| Launched | Nov 2025 | Jan 2023 |
- Suites vs Automock: Automock focuses on simplifying mock creation, while Suites provides a full declarative test framework with dependency tracking.
Suites FAQ
Does Suites require a paid license?+
No, Suites is fully open-source and free to use.
Which testing frameworks does Suites support?+
It integrates with Jest, Sinon and Vitest out of the box.
Can Suites be used with dependency-injection libraries?+
Yes, it works with NestJS and InversifyJS to automatically mock injected dependencies.
Is Suites compatible with AI-generated tests?+
Its concise, fail-fast format is designed for AI agents to generate correct tests in a single pass.
Summarized by DevHunt from suites.dev · Sep 28, 2026. Details may change; check the official site.
.png?width=160)
Suites
Automock










