orlangure/gnomock
Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻 observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 77
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2406
- days_rel: 452
- days_push: 142
- n_releases_24m: 1
Adoption not part of the score
1489 stars · 80 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Gnomock is a Go integration and end-to-end testing toolkit that spins up ephemeral Docker containers for application dependencies with preconfigured initial state, then cleans them up automatically. It offers many official presets (Postgres, MySQL, Redis, Kafka, etc.) and can also run as an HTTP daemon for use from other languages.
Use cases
- spin up a throwaway postgres with schema for integration tests
- test against real redis instead of mocks
- seed test data into s3 or splunk during e2e tests
- run kafka in docker for consumer tests
- set up ephemeral mysql containers in go tests
- use gnomock daemon from python or node tests
When to choose
- you want integration tests against real services without writing mocks
- you need easy initial-state setup for databases and message brokers
- your project is in Go or can call an HTTP daemon
When to avoid
- you need remote or orchestrated Docker hosts (experimental support only)
- your tests don't require real external dependencies
- you can't run a local Docker daemon
Facets
library · maturity active
testing e2e-testing container-runtime testing developer-tools databases go cli integration-testing testcontainers ephemeral-containers presets no-mocks http-daemon containers docker
1 source
- readme: https://github.com/orlangure/gnomock · fetched 2026-08-28 · 26da3dae119d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| orlangure/gnomock | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="orlangure/gnomock")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem