ory/dockertest
View on GitHub ↗ ★ 4,531 Go
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
8 mentions on Hacker News by 7 people: 1 story, 7 comments · first 2021-07-22 · latest 2026-04-14
20082026
-
▲ 3
Show HN: Write better Go integration tests with open source dockertest v4story by pragmaticviber · 2026-04-14 · 0 comments
-
I am using https://github.com/ory/dockertest for tests, specifically for databases. Is there any advantage to use Testcontainers?
comment by mrklol · 2024-02-29 · in Testcontainers -
…for integration testing for last few years. I usually roll my own custom solution in Go using the https://github.com/ory/dockertest package though that adds necessary functionality around running migrations, creating kafka topics, or…
comment by aranw · 2024-02-28 · in Testcontainers -
> - https://godoc.org/github.com/ory/dockertest/v3 - run containers for e2e testing For this there is also the testcontainers project, which has support for Go and other languages. https://golang.testcontainers.org/
comment by andrenth · 2023-05-23 · in How to start a Go project in 2023 -
…release workflows - https://magefile.org - build tool that can version your tools - https://godoc.org/github.com/ory/dockertest/v3 - run containers for e2e testing - https://github.com/ecordell/optgen - generate functional options -…
comment by jzelinskie · 2023-05-23 · in How to start a Go project in 2023 -
Dockertest makes it really easy to test Go+Postgresql projects. I use it a lot. https://github.com/ory/dockertest
comment by koeng · 2021-11-23 · in Back to basics: Writing an application using Go and PostgreSQL -
I use https://github.com/ory/dockertest for my Golang services that need testing. One thing that is nice is I can easily switch out/test both postgresql and cockroachdb.
comment by koeng · 2021-11-18 · in Ephemeral Postgres Databases -
…other resources running locally you just can run the test cases if you have docker installed. [0] https://github.com/ory/dockertest
comment by phumberdroz · 2021-07-22 · in MicroK8s – Low-ops, minimal Kubernetes, for cloud, clusters, Edge and IoT