Testcontainers logo


A library that integrates Docker with testing libs - for databases, Selenium web browsers, or anything else that can run in a Docker container
+ 1

What is Testcontainers?

It 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 is a tool in the Container Tools category of a tech stack.
Testcontainers is an open source tool with 5.4K GitHub stars and 1.1K GitHub forks. Here’s a link to Testcontainers's open source repository on GitHub

Who uses Testcontainers?

11 companies reportedly use Testcontainers in their tech stacks, including Backbase, Dixa, and Nutmeg.

32 developers on StackShare have stated that they use Testcontainers.

Testcontainers Integrations

Docker, MySQL, PostgreSQL, Oracle, and JUnit are some of the popular tools that integrate with Testcontainers. Here's a list of all 6 tools that integrate with Testcontainers.

Testcontainers's Features

  • Data access layer integration tests
  • Application integration tests
  • UI/Acceptance tests

Testcontainers Alternatives & Comparisons

What are some alternatives to Testcontainers?
It is an integration and functional testing platform that can be used for Java middleware testing. With the main goal of making integration (and functional) tests as simple to write as unit tests, it brings the tests to the runtime environment, freeing developers from managing the runtime from within the test.
Docker Compose
With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
Helm is the best way to find, share, and use software built for Kubernetes.
Rancher is an open source container management platform that includes full distributions of Kubernetes, Apache Mesos and Docker Swarm, and makes it simple to operate container clusters on any cloud or infrastructure platform.
See all alternatives

Testcontainers's Followers
38 developers follow Testcontainers to keep up with related blogs and decisions.