EVERYTHING XIAOMI
Get listed

Godog

Godog is the official Cucumber behavior-driven development framework for Go.

Place
#17 of 30
Score
5.8
Godog's website

What Godog is

Godog is the official Cucumber behavior-driven development framework for Go. It turns Gherkin scenarios, written with Given, When, and Then steps, into tests, bringing specifications and test documentation together. Because Godog tests those specifications automatically, the documented behavior can stay current. Test suites run through Go’s standard `go test` command; the project marks its `godog` CLI as deprecated and recommends using `go test` instead. Configured concurrency runs scenarios at the same time, and supplied formatters support concurrent execution. Feature files can be bundled into a test binary using `go:embed` with a custom filesystem loader. The project points to cucumber-html-reporter for HTML reports and pkg.go.dev for API details. Godog runs locally and is free, with Godog and Gherkin licensed under MIT; the plan note says the API may change before 1.0.0. Users can get help in the Cucumber community Discord. The repository reports no published security advisories, and vulnerability reports should be sent privately to [email protected] rather than posted publicly.

Good

  • Gherkin scenarios use Given, When, and Then
  • Runs suites through standard `go test`
  • Supports concurrent scenario execution
  • Feature files can be embedded in test binaries

Watch out

  • The `godog` CLI is deprecated
  • API may change before 1.0.0

Who it suits

Godog suits Go developers who want to express expected behavior as Gherkin scenarios and run them as tests. It is also relevant to teams that want specifications and test documentation to stay aligned.

Verdict

Godog connects Gherkin behavior specifications with Go test suites and offers concurrency and embedding options. Use `go test` rather than the deprecated CLI, and account for the API-change note before 1.0.0.

Plans and prices

From Godog's own pricing page, checked 1 Oct 2026.

All about pricing
PlanPriceWhat it gives you
Godog open-source softwareFreeMIT license · API may change before 1.0.0

The facts

Each one read from Godog's own pages, with the date it was checked.

What it does

API documentation
General API details are available through the package documentation on pkg.go.dev.checked 1 Oct 2026
CLI status
The godog CLI is deprecated and the project recommends using go test instead.checked 1 Oct 2026
Concurrency
Configured concurrency executes scenarios concurrently, and supplied formatters support concurrency.checked 1 Oct 2026
Documentation model
Godog merges specification and test documentation into one cohesive whole.checked 1 Oct 2026
Embeddable features
Feature files can be compiled into a test binary with go:embed and a custom filesystem loader.checked 1 Oct 2026
Go test integration
Godog can run test suites through the standard go test command.checked 1 Oct 2026
License
Godog and Gherkin are licensed under the MIT License.checked 1 Oct 2026
Living documentation
Specifications are automatically tested by Godog so they remain up to date.checked 1 Oct 2026
Purpose
Godog is the official Cucumber behavior-driven development framework for Golang.checked 1 Oct 2026
Reporting
The project references cucumber-html-reporter for generating HTML reports from Cucumber output.checked 1 Oct 2026
Security advisories
The repository page states that there are no published security advisories.checked 1 Oct 2026
Security reporting
Security vulnerabilities should be reported privately to [email protected] rather than through public issues, discussions or pull requests.checked 1 Oct 2026
Specification format
It uses Gherkin-formatted scenarios with Given, When and Then steps.checked 1 Oct 2026
Support
Users can get help through the Cucumber community Discord with users, developers and BDD practitioners.checked 1 Oct 2026

Alternatives to Godog

All alternatives
  1. 1Karate logo

    Karate

    Free planOpen sourceAPIExtensionLinuxmacOS
    8.2From $100 a year
  2. 2

    FitNesse

    Free planWebAPILinuxmacOS
    6.7Free plan
  3. 3Reqnroll logo

    Reqnroll

    Free planWindowsmacOSLinux
    6.7From €400 a year
  4. 4

    BddDotNet

    Free planLinuxmacOSWindows
    6.6Free plan
  5. 5

    BDDX

    Free planWeb
    6.6From $9.99 a month
  6. 6Cucumber Open logo

    Cucumber Open

    Free planAndroidAPILinuxmacOS
    6.6Free plan