testcontainers/testcontainers-go

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.

Go

4,996

2,411 commits

updated Oct 6, 2026

See the code

README

Testcontainers

Main pipeline GoDoc Reference Go Report Card Quality Gate Status License

Open in GitHub Codespaces

Join our Slack

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.

You can find more information about Testcontainers for Go at golang.testcontainers.org, which is rendered from the ./docs directory.

Using Testcontainers for Go

Please visit the quickstart guide to understand how to add the dependency to your Go project.

automation
docker
go
golang
hacktoberfest
testcontainers
testcontainers-go
testing

Significant stargazers

(top 24 of 84)

Victor Martinez

69 followers · starred May 2023

silverwind

662 followers · starred Mar 2026

Andrey Nering

594 followers · starred Aug 2025

Madhav Jivrajani

280 followers · starred Jun 2021

testcontainers/testcontainers-go

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.

Go

4,996

2,411 commits

updated Oct 6, 2026

See the code

README

Testcontainers

Main pipeline GoDoc Reference Go Report Card Quality Gate Status License

Open in GitHub Codespaces

Join our Slack

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.

You can find more information about Testcontainers for Go at golang.testcontainers.org, which is rendered from the ./docs directory.

Using Testcontainers for Go

Please visit the quickstart guide to understand how to add the dependency to your Go project.

automation
docker
go
golang
hacktoberfest
testcontainers
testcontainers-go
testing

Significant stargazers

(top 24 of 84)

Victor Martinez

69 followers · starred May 2023

silverwind

662 followers · starred Mar 2026

Andrey Nering

594 followers · starred Aug 2025

Madhav Jivrajani

280 followers · starred Jun 2021