github.com/testcontainers/testcontainers-go/modules/compose

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.


Keywords
automation, docker, go, golang, hacktoberfest, testcontainers, testcontainers-go, testing
License
MIT
Install
go get github.com/testcontainers/testcontainers-go/modules/compose

Documentation

Testcontainers

Open in GitHub Codespaces

Builds

Main pipeline

Documentation

GoDoc Reference

Social

Slack

Code quality

Go Report Card Quality Gate Status

License

License

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.