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.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
1 release in the last 90 days, the latest 81 days ago, with 296 contributors on GitHub.
Gained 37% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides a Go package to programmatically create and manage containerized dependencies for automated integration and smoke tests.
- Simplifies test environment setup and teardown with a clean, easy-to-use API that ensures container resources are properly managed.
- Use for automating integration tests that require ephemeral databases or services running in containers.
- Use for smoke testing microservices by spinning up dependent containers dynamically during test execution.
- Use for continuous integration pipelines to isolate and manage containerized test dependencies in Go projects.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
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.
Please visit the quickstart guide to understand how to add the dependency to your Go project.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
656+33
Open issues
199+27
Compared with peers in Automation
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| vercel-labs/agent-desktop | 17.0K | +13.3K | 33 | today |
| D4Vinci/Scrapling | 98.1K | +6.9K | 65 | 1 day ago |
| Panniantong/Agent-Reach | 109.3K | +3.0K | 60 | 4 days ago |
| lexmount/moli | 22.7K | +1.2K | 55 | 2 days ago |
| superplanehq/superplane | 8.8K | +435 | 60 | 7 days ago |
| testcontainers/testcontainers-go | 5.0K | — | 56 | 81 days ago |
| Category median | 22.7K | +3.0K | 60 | — |
Also by testcontainers
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description