# cucumber/godog

Cucumber for golang

Repository: https://github.com/cucumber/godog
Canonical: https://ross.abutalabs.com/products/godog
Language: Go
License: MIT
License Family: permissive
Topics: golang, gherkin, integration-testing, functional-testing
Last push: 2026-08-21T20:57:01+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 63, longevity 100
- inputs: {"age_days": 4102, "days_push": 12, "days_rel": 33, "gap_med": 318.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2665, forks 278 (observed 2026-08-28T04:07:09.074597+00:00)

## What it is
Godog is the official Cucumber BDD framework for Go, letting teams write executable specifications in Gherkin's Given/When/Then format. It merges specification and test documentation into living documentation that is automatically verified against Go code.

## Use cases
- write BDD acceptance tests in Go
- run Gherkin feature files against Go code
- create living documentation from executable specs
- improve collaboration between business and developers on tests
- do integration and functional testing with Cucumber in Go

## When to choose
- your team practices BDD and wants Cucumber support in Go
- you need non-technical stakeholders to read and contribute to test scenarios
- you want executable specifications that double as documentation

## When to avoid
- you only need lightweight unit tests without Gherkin scenarios
- you require a fully stable 1.0 API, as it may still change
- your team doesn't follow BDD workflows

## Facets
- artifact type: framework
- maturity: active
- function: testing, e2e-testing
- domain: testing, developer-tools
- platform: go, cli, cross-platform
- tags: bdd, cucumber, gherkin, behavior-driven-development, acceptance-testing

## Member repositories
- cucumber/godog (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.074597+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:17.062056+00:00, confidence not recorded.
  - readme: https://github.com/cucumber/godog (fetched 2026-08-28T04:07:09.074597+00:00, sha f68d2a791d2f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
