Ginkgo vs LightBDD
Ginkgo
onsi.github.ioLightBDD
github.comSide by side
| Figure | Ginkgo | LightBDD |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · BDD Testing Tools | 8.2 (#7) | 7.5 (#17) |
| Execution | Ginkgo supports reproducibly randomizing spec order and running specs in parallel. | It tracks scenario step progress and execution time, and supports asynchronous scenarios and steps. |
| License | The repository states that Ginkgo is MIT-Licensed. | The repository provides LightBDD under the BSD 2-Clause License. |
| Purpose | Ginkgo is a testing framework for Go for writing expressive tests, including unit, integration, acceptance, and performance tests. | LightBDD is a behavior driven development framework for writing readable tests and tracking their execution. |
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.
LightBDD
LightBDD is a free, open-source behavior-driven development framework for writing readable tests and tracking execution locally. Scenarios support parameterized steps, inline and tabular parameters, and shared context. The framework records step progress and execution time and supports asynchronous scenarios and steps. It generates feature reports in HTML, XML, or plain text. Listed integrations include NUnit, xUnit 2 and 3, Microsoft Test Framework, Fixie, and TUnit, while dependency-injection containers are supported. A Visual Studio extension supplies project and feature-class templates plus snippets for scenarios and composite steps. The Quick Start organizes acceptance tests as partial feature classes, separating scenario definitions from step implementations. Packages are distributed through NuGet. Listed runtime support includes .NET 5+, .NET Framework, .NET Standard, .NET Core, and UWP. LightBDD runs on Linux, macOS, and Windows under the BSD 2-Clause License. The project wiki and NuGet debug symbols provide support and diagnostics resources. A community project can synchronize LightBDD scenarios with Azure DevOps test cases.