BddDotNet
github.com
What it is
BddDotNet is an open-source behavior-driven development framework for C# and .NET. It supports scenarios written in Gherkin or assembled in C# through a builder pattern. Its Gherkin source generator compiles feature files and registers steps; step arguments can use C# expressions, and table arguments can be converted into C# models. The framework uses Microsoft.Testing.Platform and is based on Microsoft.Extensions.*. The project says it supports .NET 10+ runtimes and is suited to Native AOT deployment and trimming. Public interfaces and dependency injection provide extension points, while additional features are available in separate NuGet packages. To add it to a .NET project, install BddDotNet and its Gherkin source generator as NuGet packages. Setup examples use a console application created with Visual Studio or the .NET CLI, and a GitHub wiki provides setup and feature documentation. It runs locally on Linux, macOS, and Windows. BddDotNet is free under the MIT license, whose terms permit use, modification, distribution, and sublicensing; the software is provided without warranty.
Spec sheet
- Purpose
- BddDotNet is an open source behavior-driven development framework for C# and .NET with Gherkin support.Read 8 Oct 2026 · github.com
- Deployment
- The project describes itself as friendly to Native AOT and trimming.Read 8 Oct 2026 · github.com
- Support
- The repository provides a GitHub wiki with setup and feature documentation.Read 4 Oct 2026 · github.com
- License
- The repository includes an MIT License that grants permission to use, copy, modify, distribute, sublicense, and sell the software, subject to its terms.Read 8 Oct 2026 · github.com
- AOT and trimming
- The project describes itself as friendly to AOT deployment and trimming.Read 4 Oct 2026 · github.com
- Dependency integration
- The project describes itself as based on Microsoft.Extensions.*.Read 8 Oct 2026 · github.com
- Distribution
- Setup instructions install BddDotNet and its Gherkin source generator as NuGet packages in a .NET project.Read 4 Oct 2026 · github.com
- Extensibility
- The project describes extensibility through public interfaces and dependency injection.Read 4 Oct 2026 · github.com
- Extension
- The framework supports extensibility through public interfaces and dependency injection.Read 8 Oct 2026 · github.com
- Gherkin
- The project supports Gherkin scenarios and provides a source generator.Read 8 Oct 2026 · github.com
- Gherkin arguments
- It supports C# expressions in Gherkin step arguments.Read 4 Oct 2026 · github.com
- License limitation
- The MIT license states that the software is provided without warranty.Read 8 Oct 2026 · github.com
- Maker location
- The GitHub profile for Romfos lists Poland.Read 8 Oct 2026 · github.com
- Modularity
- The project says additional features are provided as separate NuGet packages.Read 8 Oct 2026 · github.com
- Notable modularity
- The project says additional features are provided as separate NuGet packages.Read 4 Oct 2026 · github.com
- Runtime support
- The README lists support for .NET 10 and later runtimes.Read 8 Oct 2026 · github.com
- Scenario authoring
- It supports writing scenarios in Gherkin and building scenarios in C# with a builder pattern.Read 4 Oct 2026 · github.com
- Source generation
- Its Gherkin source generator compiles feature files and registers steps.Read 4 Oct 2026 · github.com
- Step arguments
- Gherkin step arguments can use C# expressions.Read 8 Oct 2026 · github.com
- Supported project examples
- The setup guide demonstrates creating a console application in Visual Studio or with the .NET CLI.Read 4 Oct 2026 · github.com
- Table transformations
- It supports transforming Gherkin table arguments into C# models.Read 8 Oct 2026 · github.com
- Test platform
- It uses Microsoft.Testing.Platform as its testing backend.Read 4 Oct 2026 · github.com
- Testing backend
- The README says BddDotNet uses Microsoft Testing Platform as its backend.Read 8 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Gherkin scenarios and C# builder-pattern scenarios
- Source generator compiles features and registers steps
- Gherkin arguments support C# expressions
- Supports Linux, macOS, and Windows
- Free under the MIT license
Limits
- Requires .NET 10+ runtimes
- Software is provided without warranty
Who it suits
It suits C# and .NET developers who want to write behavior-driven scenarios in Gherkin or C#. Its local execution and stated AOT and trimming support may also suit projects with those deployment needs.
Verdict
BddDotNet combines Gherkin authoring with C# scenario building, plus source generation and table transformations. Check its .NET 10+ runtime requirement and MIT terms before adopting it.
Where Specifiction places it
- BDD Testing Tools#2 of 308.8