ory/dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 93
- Release rhythm 47
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 378
- age_days: 4185
- days_rel: 141
- days_push: 47
- n_releases_24m: 2
Adoption not part of the score
4522 stars · 269 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go library that spins up ephemeral Docker containers (e.g., databases, message queues) for integration tests and tears them down automatically. It supports running any image from Docker Hub or built from a Dockerfile, with helpers for readiness checks, connection info, and CI usage.
Use cases
- run integration tests against a real postgres database in Go
- spin up ephemeral docker containers for unit tests
- test services against real dependencies instead of mocks
- boot docker images from a Dockerfile during Go tests
- run docker-backed tests in GitHub Actions or GitLab CI
- automatically clean up test containers after test runs
When to choose
- you write Go tests that need real databases or third-party services
- mocking a DBAL is too painful and you want real dependencies
- you want fast, disposable containers that are destroyed after testing
- you need docker-backed integration tests running in CI
When to avoid
- your tests don't need external services or containers
- you are not working in Go
- you cannot run Docker in your test environment (e.g., restricted shared CI runners)
- you only need lightweight unit tests with mocks
Facets
library · maturity active
testing e2e-testing container-runtime developer-tools testing developer-tools go windows cross-platform integration-testing ephemeral-containers docker-containers go-testing test-fixtures ci containers devops docker linux macos
7 sources
- readme: https://github.com/ory/dockertest · fetched 2026-08-28 · cfa07807ad98
- homepage: https://www.ory.com/?utm_source=github&utm_medium=banner&utm_campaign=dockertest · fetched 2026-08-29 · 9cd75b156cd4
- site_page: https://www.ory.com/docs/welcome · fetched 2026-08-29 · e6f2747eb4d2
- site_page: https://www.ory.com/about · fetched 2026-08-29 · e44652fde9f9
- site_page: https://www.ory.com/pricing · fetched 2026-08-29 · 35c1d920fc8d
- site_page: https://changelog.ory.com/ · fetched 2026-08-29 · c8e6b35f30bb
- site_page: https://www.ory.com/integrations · fetched 2026-08-29 · 966475eed325
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ory/dockertest | main | 78 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem