https://github.com/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.
https://github.com/testcontainers/testcontainers-go
automation docker go golang hacktoberfest testcontainers testcontainers-go testing
Last synced: 5 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/testcontainers/testcontainers-go
- Owner: testcontainers
- License: mit
- Created: 2018-07-18T15:04:31.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T10:18:39.000Z (6 months ago)
- Last Synced: 2024-10-29T10:56:21.725Z (6 months ago)
- Topics: automation, docker, go, golang, hacktoberfest, testcontainers, testcontainers-go, testing
- Language: Go
- Homepage: https://golang.testcontainers.org
- Size: 18.2 MB
- Stars: 3,621
- Watchers: 16
- Forks: 498
- Open Issues: 112
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-go - testcontainers-go - 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. (Testing / Testing Frameworks)
- my-awesome - testcontainers/testcontainers-go - go,testing pushed_at:2025-04 star:4.0k fork:0.5k 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)
- awesome-golang-repositories - testcontainers-go
- awesome-testcontainers - Repository
- awesome-testcontainers - Repository
- awesome-go - testcontainers-go - 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. Stars:`4.0K`. (Testing / Testing Frameworks)
README
# Testcontainers
[](https://github.com/testcontainers/testcontainers-go/actions/workflows/ci.yml)
[](https://pkg.go.dev/github.com/testcontainers/testcontainers-go)
[](https://goreportcard.com/report/github.com/testcontainers/testcontainers-go)
[](https://sonarcloud.io/summary/new_code?id=testcontainers_testcontainers-go)
[](https://github.com/testcontainers/testcontainers-go/blob/main/LICENSE)[](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=141451032&machine=standardLinux32gb&devcontainer_path=.devcontainer%2Fdevcontainer.json&location=EastUs)
[](https://testcontainers.slack.com/)
_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](https://golang.testcontainers.org), which is rendered from the [./docs](./docs) directory.
## Using _Testcontainers for Go_
Please visit [the quickstart guide](https://golang.testcontainers.org/quickstart) to understand how to add the dependency to your Go project.