Ginkgo vs Godog
Ginkgo
onsi.github.ioGodog
github.comSide by side
| Figure | Ginkgo | Godog |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · BDD Testing Tools | 8.2 (#7) | 7.7 (#12) |
| License | The repository states that Ginkgo is MIT-Licensed. | Godog and Gherkin are licensed under the MIT License. |
| Purpose | Ginkgo is a testing framework for Go for writing expressive tests, including unit, integration, acceptance, and performance tests. | Godog is the official Cucumber behavior-driven development framework for Golang. |
| Reporting | Ginkgo provides CLI support for generating and aggregating machine-readable reports, plus extensible reporting for custom formats. | The project references cucumber-html-reporter for generating HTML reports from Cucumber output. |
| Support | The project directs users with questions, bug reports, and feature requests to GitHub Issues or its Slack channel. | Users can get help through the Cucumber community Discord with users, developers and BDD practitioners. |
Plans
In their own words
Ginkgo
Ginkgo is a free, MIT-licensed testing framework for Go that helps developers write expressive specifications. Its BDD-style DSL uses nested Describe, Context, and When containers, along with setup, cleanup, and spec nodes. Developers can use it for unit, integration, and performance specs. Independent specs can run in parallel or in reproducibly randomized order. The bundled ginkgo command can generate, run, filter, and profile suites, and watch for changes to rerun specs. Reporting can produce machine-readable output in multiple formats and supports custom reporting infrastructure. Ginkgo builds on Go’s testing foundation and is designed to pair with the Gomega matcher library. Its GinkgoT() and GinkgoTB() interfaces also allow use of Go testing libraries such as Testify and Gomock. Documentation lists completions for Sublime Text and VS Code, plus a VS Code extension for running specs. The current supported major version is V2; V1 is no longer supported. Ginkgo states compatibility with Go versions currently supported under Go’s release policy, N and N−1.