Testcontainers is a set of open source libraries that provides easy and lightweight APIs for bootstrapping local development and test dependencies with real services wrapped in Docker containers.Using Testcontainers, you can write tests that depend on the same services you use in production without mocks or in-memory services.
- Testcontainers for .NET
- Testcontainers for C/C++ (and other native languages)
- Testcontainers for Clojure
- Testcontainers for Elixir
- Testcontainers for Haskell
- Testcontainers for Node.js
- Testcontainers for PHP
- Testcontainers for Python
- Testcontainers for Ruby
- Testcontainers for Rust
- Testcontainers for Scala
Testcontainers offers modules with preconfigured implementations for popular servicessuch as databases, message brokers, and more.Find the full list of modules in theTestcontainers Module Catalog.If you own a Testcontainers module implementation,please submit it to the catalog by creating a pull request tothis repository.
To get started with Testcontainers,please refer to theWhat is Testcontainers, and why should you use it? guide.We recommend you to start with theGetting Started guide.
- Getting started with Testcontainers for .NET
- Getting started with Testcontainers for Go
- Getting started with Testcontainers for Java
- Getting started with Testcontainers for Node.js
- Getting started with Testcontainers for C/C++
Testcontainers Desktop is a free companion app for the open source Testcontainers libraries that enriches the Testcontainers user-experience makes local development and testing with real dependencies even simpler.Read more about Testcontainers Desktop in thedocumentation.
Try it following theSimple local development with Testcontainers Desktop guide.
Or watch the quick video introduction:
PinnedLoading
- testcontainers-java
testcontainers-java PublicTestcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
- testcontainers-dotnet
testcontainers-dotnet PublicA library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
- testcontainers-go
testcontainers-go PublicTestcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers t…
- testcontainers-node
testcontainers-node PublicTestcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
- testcontainers-python
testcontainers-python PublicTestcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.
- testcontainers-rs
testcontainers-rs PublicA library for integration-testing against docker containers from within Rust.
Repositories
- testcontainers-go Public
Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
testcontainers/testcontainers-go’s past year of commit activity - testcontainers-node Public
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
testcontainers/testcontainers-node’s past year of commit activity - testcontainers-rs Public
A library for integration-testing against docker containers from within Rust.
testcontainers/testcontainers-rs’s past year of commit activity - testcontainers-java Public
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
testcontainers/testcontainers-java’s past year of commit activity - testcontainers-dotnet Public
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
testcontainers/testcontainers-dotnet’s past year of commit activity - testcontainers-native Public
Testcontainers for C/C++/Swift and other native projects, built on the top of Testcontainers for Go
testcontainers/testcontainers-native’s past year of commit activity Uh oh!
There was an error while loading.Please reload this page.
testcontainers/community-module-registry’s past year of commit activity
