Skip to main content
Back to trending

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

  • testing
  • docker
  • automation
  • golang
  • go
  • testcontainers-go
  • testcontainers
  • hacktoberfest
View on GitHub
Stars
5,041
Forks
661
+ today
+1
Created
8y

Ranking data as of December 2, 2026 (UTC).

Star History

Today, hour by hour

5,041 stars
01

Overview

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 It ranks #3450 on GitTiger, gaining +1 star on December 2, 2026 (UTC).

The project is written in Go and has 661 forks. It was created 8y ago.

Installation
git clone https://github.com/testcontainers/testcontainers-go.git
cd testcontainers-go
# see README for setup