Skip to main content

Recipes

What this covers: Real-world examples for testing with Suites across various technologies
Best for: Developers looking for practical patterns beyond core testing concepts

This section contains real-world examples demonstrating how to use Suites with various technologies and frameworks. These examples go beyond the core testing concepts and show practical patterns for common scenarios.

Examples Repository

For complete, runnable code examples, browse the Suites Examples repository. The repository contains:

  • Working implementations of all patterns shown in these guides
  • Complete test suites for each example
  • Different framework integrations (NestJS, InversifyJS)
  • Real-world scenarios and edge cases

Available Examples

  • Mocking ORMs - Learn how to mock TypeORM, Prisma, Drizzle, and MikroORM in your unit tests

Contributing Examples

Have a pattern or example you'd like to share? Contributions are welcome! You can:

  1. Submit examples to the Examples repository
  2. Suggest documentation improvements via issues or pull requests