testcontainers /testcontainers-java

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.

★ 8,765⑂ 1,953👁 127⑃ 9,414● 2,471▤ 92
JavaMITCreated 2015-04-12testcontainers.org
Download: 2.0.52.0.5 ↓2.0.52026-04-20
+1
Daily
8,765
stars
1,953
forks
127
watchers
9,414
prs
2,471
issues
92
releases

README

Testcontainers

!Maven Central Version









 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 logo

 Read the documentation here

 License

See LICENSE.

 Copyright

Copyright (c) 2015 - 2021 Richard North and other authors.

MS SQL Server module is (c) 2017 - 2021 G DATA Software AG and other authors.

Hashicorp Vault module is (c) 2017 - 2021 Capital One Services, LLC and other authors.

See contributors for all contributors.

Top issues

Discussions

Latest release

2.0.5 2.0.5 2026-04-20
What's Changed

 🚀 Features & Enhancements

 Support apache/artemis in ArtemisContainer (11590) @eddumelendez
 Add getHttpPort and getGrpcPort methods in WeaviateContainer (11712) @eddumelendez
 Add support for !override docker compose tag (11490) @meck-gd

 🐛 Bug Fixes

 Fix jarFileTest cache relocatability (11574) @ribafish

 📖 Documentation

 Update LocalStack docs (11581) @eddumelendez

 🧹 Housekeeping

 Fix typo in GenericContainer namespace validation error message (11717) @haider2122
 Replace deprecated/removed method calls javadoc examples (11570) @ratonalgaze
 Use 

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON