Testcontainers

by Docker

Throwaway, real dependencies for integration tests using Docker containers

Testcontainers is a set of libraries for running real databases, message brokers, and other services in Docker containers during tests, with libraries for Java, Go, .NET, Node.js, Python, and more.

Key features

  • Real dependencies instead of mocks
  • Modules for popular databases and brokers
  • Libraries for many languages
  • Automatic cleanup

Similar tools

  • Cypress

    JavaScript end-to-end and component testing that runs in the browser

    by Cypress.ioFreemiumOpen sourceCLI, macOS, Windows +1
  • Faker

    Generate massive amounts of realistic fake data for testing and development

    FreeOpen sourceCLI, Web
  • Grafana k6

    Developer-centric load testing with tests written in JavaScript

    by Grafana LabsFreemiumOpen sourceCLI, macOS, Windows +1
  • Jest

    Delightful JavaScript testing framework with a focus on simplicity

    FreeOpen sourceCLI, VS Code
  • Mock Service Worker

    API mocking at the network level for browser and Node.js

    FreeOpen sourceCLI, Web
  • Mockaroo

    Generate realistic test data in CSV, JSON, SQL, and Excel formats

    by MockarooFreemiumWeb, API

Built a tool like Testcontainers? Submit it for review