dnaeon/go-vcr
Record and replay your HTTP interactions for fast, deterministic and accurate tests observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 92
- Release rhythm 66
- 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: 100
- age_days: 3915
- days_rel: 69
- days_push: 48
- n_releases_24m: 6
Adoption not part of the score
1394 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library inspired by Ruby's VCR that records HTTP interactions to YAML cassettes and replays them in future test runs. It enables fast, deterministic, and accurate testing of code that makes external HTTP calls without hitting real servers.
Use cases
- record and replay HTTP interactions in Go tests
- make Go tests deterministic without live API calls
- mock external HTTP APIs in unit tests
- speed up test suites that depend on remote services
- create reusable HTTP fixtures for testing
- test HTTP clients offline
When to choose
- you write Go code that talks to external HTTP APIs and want reliable tests
- you want VCR-style cassette-based HTTP recording in Go
- you need reproducible tests without network flakiness or rate limits
When to avoid
- you need mocking for non-HTTP protocols like gRPC or WebSockets
- you are not working in Go
- you need a general-purpose HTTP mock server rather than record/replay
Facets
library · maturity active
testing mocking http-client testing developer-tools apis go cli http-recording vcr cassette deterministic-tests test-fixtures
1 source
- readme: https://github.com/dnaeon/go-vcr · fetched 2026-08-28 · 2cec775825d4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dnaeon/go-vcr | main | 84 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem