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
About testcontainers-go
Testcontainers
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.
Frequently Asked Questions
What is testcontainers-go?
testcontainers-go is a Testing library for the Go programming language. 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
How do I install testcontainers-go?
Install testcontainers-go with the Go module system using `go get testcontainers/testcontainers-go`. Check the repository for the current installation instructions.
What category does testcontainers-go belong to?
testcontainers-go is listed under Testing, specifically Testing Frameworks.