Home

qianmoQqianmoQ· 更新于 2026-10-14· 阅读 8 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Welcome to Testcontainers for Go!

Not using Go? Here are other supported languages!

Java Go .NET Node.js Python Rust Ruby PHP Haskell Clojure Elixir Scala Native

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

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?

  • 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

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

Copyright

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

评论

登录后参与评论

正在加载评论…