Skip to content

Welcome to Testcontainers for Go!

Not using Go? Here are other supported languages!

About Testcontainers for Go

Image for: About Testcontainers for 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.

To start using Testcontainers for Go please read our quickstart guide.

GoDoc

Image for: GoDoc¶

Inline documentation and docs where the code live is crucial for us. Go has nice support for them and we provide examples as well. Check it out at pkg.go.dev/github.com/testcontainers/testcontainers-go.

Who is using Testcontainers Go?

Image for: Who is using Testcontainers Go?¶
  • Elastic - Testing of the APM Server, and E2E testing for Beats
  • Telegraf - Integration testing the plugin-driven server agent for collecting & reporting metrics
  • Intel - Reference implementation design E2E testing for microservice-based solutions
  • OpenTelemetry - Integration testing of the OpenTelemetry Collector receivers

License

Image for: License¶

This project is opensource and you can have a look at the code on GitHub. See LICENSE.

Image for: Copyright¶

Copyright (c) 2018-present Gianluca Arbezzano and other authors. Check out our lovely contributors.