Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2021 (3)
20082026
  1. ▲ 3
    Show HN: Write better Go integration tests with open source dockertest v4
    story by pragmaticviber · 2026-04-14 · 0 comments
  2. 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
  3. …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
  4. > - 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
  5. …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
  6. Dockertest makes it really easy to test Go+Postgresql projects. I use it a lot. https://github.com/ory/dockertest
  7. 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
  8. …other resources running locally you just can run the test cases if you have docker installed. [0] https://github.com/ory/dockertest