Suggest a tool

Testcontainers for Go

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Testcontainers for Go is

Testcontainers for Go is a Go package that starts and removes container-based dependencies for automated integration and smoke tests. Tests declare the containers they need in code, and the package removes those resources once the test ends. The quickstart starts a Redis container through testcontainers.Run. Options such as WithExposedPorts and WithWaitStrategy set port mappings and readiness checks. Containers are cleaned up with testcontainers.CleanupContainer. The package works with the standard go test tooling.

Written from the project's README, read , and its documentation (see sources).

Category
Test data and mocking
License
MIT
Language
Go
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars4,9881
Forks6391
Open issues and PRs1831
Contributors3191
Commits in the last 90 days1281
Last commit2026-09-211
Last releasev0.44.0, 2026-08-071
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed test data and mocking tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Testcontainers for Go's, with its source.

Questions

Is Testcontainers for Go open source?

Yes. Testcontainers for Go is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Testcontainers for Go maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-21, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Testcontainers for Go have?

4,988 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Testcontainers for Go written in?

The repository's primary language, as reported by the GitHub API, is Go.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read
  6. Quickstart - Testcontainers for Go, read