FREEDOM251

Freedom251 › BDD Testing Tools

BddDotNet

Free plan LinuxMacWindows

Visit BddDotNet Alternatives Pricing

BddDotNet's own site

What BddDotNet is

BddDotNet is a free, open-source behavior-driven development framework for C# and .NET. It supports Gherkin scenarios as well as scenarios built in C# with a builder pattern. Its Gherkin source generator compiles feature files and registers steps, and step arguments can contain C# expressions. Gherkin table arguments can be converted into C# models. The framework uses Microsoft.Testing.Platform as its testing backend and supports .NET 10+ runtimes. The project describes itself as friendly to Native AOT deployment and trimming, and says it is based on Microsoft.Extensions.*. Public interfaces and dependency injection provide extension points; additional features come as separate NuGet packages. Setup involves installing BddDotNet and its Gherkin source generator as NuGet packages in a .NET project. The setup guide demonstrates creating a console application in Visual Studio or through the .NET CLI, and a GitHub wiki provides setup and feature documentation. It runs locally on Linux, macOS, and Windows. The MIT license permits use, modification, distribution, and sublicensing subject to its terms, and provides the software without warranty.

Who it suits

It suits C# and .NET developers who want to write behavior-driven tests with Gherkin or construct scenarios in C#. Teams can extend it through public interfaces and dependency injection.

What it does well

  • Supports Gherkin and C# scenario authoring.
  • Source generation compiles feature files and registers steps.
  • Transforms Gherkin tables into C# models.
  • Supports .NET 10+ runtimes.
  • Runs locally on Linux, macOS, and Windows.

What to know first

  • Requires a .NET project and NuGet package setup.
  • Additional features are separate NuGet packages.
  • The MIT license provides the software without warranty.

Plans

PlanBilled and limitsPrice
Open sourceMIT-licensed softwareFree

As github.com lists them, read 8 Oct 2026. The maker's own page has the final word.

Getting started

  1. Create a .NET project, such as a console application in Visual Studio or with the .NET CLI.
  2. Install the BddDotNet NuGet package.
  3. Install the BddDotNet Gherkin source generator NuGet package.
  4. Use the GitHub wiki for setup and feature documentation.

BddDotNet is a behavior-driven development framework for .NET teams that want to write tests in Gherkin or build scenarios in C#. Its strongest case is the combination of those authoring styles with local execution and source generation; its .NET 10+ runtime requirement rules it out for older projects.

Overview

Scenarios can live in Gherkin feature files or be composed in C# with a builder pattern. That gives teams a choice between readable specifications and code-authored scenarios, without leaving the .NET project. A Gherkin source generator compiles feature files and registers their steps.

BddDotNet uses Microsoft.Testing.Platform as its testing backend and is based on Microsoft.Extensions.*. Setup adds the framework and its generator as NuGet packages to a .NET project. The guide demonstrates a console application in Visual Studio or through the .NET CLI, and a GitHub wiki covers setup and features. Execution is local.

Key features

  • Gherkin and C# authoring: The two scenario styles give teams room to match the format to the contributors and test. C# expressions are also supported in Gherkin step arguments, which can connect scenario steps to code-level values.
  • Table transformations: Gherkin table arguments can be transformed into C# models, a practical bridge for scenarios that need structured inputs.
  • Extension points: Public interfaces and dependency injection support extending the framework. Additional features come in separate NuGet packages, giving teams a modular route to add capabilities.
  • AOT and trimming: The project describes itself as friendly to Native AOT deployment and trimming, relevant to teams targeting those deployment approaches.
  • Runtime and backend: Support for .NET 10+ is a firm constraint, and Microsoft.Testing.Platform is the chosen backend. Teams on older runtimes or committed to another backend should consider a different framework.

Pricing

BddDotNet is free and open source under the MIT License. Its Open source plan costs nothing. The license permits use, modification, distribution, and sublicensing subject to its terms, and provides the software without warranty. There is no free trial because the software is free; the project describes no paid tiers or plan caps.

Platforms

BddDotNet supports Linux, macOS, and Windows. It is installed into a .NET project through NuGet packages, and its documented runtime support begins at .NET 10. The console application setup examples provide a concrete starting point for .NET developers on the supported operating systems.

Who it's for

This is a good fit for .NET teams that want behavior-driven scenarios in Gherkin but also value a C# builder, or that need scenario tables mapped into C# models. Its interfaces, dependency injection, and separate feature packages will matter most to teams expecting to extend the framework. It is a poor fit for projects that must stay on .NET versions before 10 or need a different testing backend.

Pros and cons

  • Pro: Gherkin files and C# scenario building offer two distinct ways to author tests within a .NET workflow.
  • Pro: Source generation compiles feature files and registers steps, while table transformations and C# expressions connect Gherkin to C#.
  • Pro: Public interfaces, dependency injection, and separate NuGet packages give teams extension and modularity options.
  • Con: .NET 10+ runtime support excludes teams maintaining older .NET applications.
  • Con: Microsoft.Testing.Platform is the backend, limiting its appeal to teams seeking a framework built around another test platform.
  • Con: The MIT license provides the software without warranty, so users take on that risk when adopting it.

Alternatives

Browse BDD Testing Tools for a broader set of behavior-driven testing options. FitNesse is a free open-source alternative for readers who want a tool spanning Linux, macOS, Windows, web, API, and self-hosted platforms. Serenity BDD is another free open-source library, with a wider listed platform range; its JUnit 4 support is deprecated and planned for removal in Serenity 6.0.0.

Concordion is a free Java library under Apache License 2.0, making it the relevant alternative for Java projects. Cucumber Open is a free open-source option for readers looking at Android, API, Linux, macOS, or Windows support. Ginkgo is a free Go testing framework whose current supported major version is v2.

CukeTest offers a free Lite plan with visual feature editing and JavaScript and Python support; its built-in automation libraries have some usage limits, including 500 automation API calls and a three-minute limit. Karate has a free MIT-licensed framework plan for REST, GraphQL, and SOAP API testing, plus browser and desktop UI automation and Gatling performance testing. LightBDD is another free, open-source option under the BSD 2-Clause license.

Verdict

Choose BddDotNet if your team is building on .NET 10 or later and wants Gherkin and C# scenario authoring, with source generation and extension points in a free local framework. The .NET 10+ floor is the main reason to look elsewhere, especially for an existing application that must remain on an earlier runtime.

Verdict

BddDotNet combines Gherkin authoring with C# scenario building and local execution. Its documented runtime support, source generator, and extension points are useful considerations for .NET teams choosing a behavior-driven framework.

Questions

How much does BddDotNet cost?

The Open source plan is free. The pricing model is free.

Is there a free plan or trial?

A free plan is available. There is no free trial.

Which platforms does BddDotNet support?

The listed platforms are Linux, macOS, and Windows. Execution is local.

Is BddDotNet open source?

Yes. It is MIT-licensed, with permission to use, modify, distribute, and sublicense subject to the license terms. The license provides the software without warranty.

How do I install it?

Install BddDotNet and its Gherkin source generator as NuGet packages in a .NET project.

What testing backend and runtime does it use?

It uses Microsoft.Testing.Platform as its testing backend and supports .NET 10+ runtimes.

Facts from BddDotNet's own pages

AOT and trimming
The project describes itself as friendly to AOT deployment and trimming. · github.com, 4 Oct 2026
Dependency integration
The project describes itself as based on Microsoft.Extensions.*. · github.com, 8 Oct 2026
Deployment
The project describes itself as friendly to Native AOT and trimming. · github.com, 8 Oct 2026
Distribution
Setup instructions install BddDotNet and its Gherkin source generator as NuGet packages in a .NET project. · github.com, 4 Oct 2026
Extensibility
The project describes extensibility through public interfaces and dependency injection. · github.com, 4 Oct 2026
Extension
The framework supports extensibility through public interfaces and dependency injection. · github.com, 8 Oct 2026
Gherkin
The project supports Gherkin scenarios and provides a source generator. · github.com, 8 Oct 2026
Gherkin arguments
It supports C# expressions in Gherkin step arguments. · github.com, 4 Oct 2026
License
The repository includes an MIT License that grants permission to use, copy, modify, distribute, sublicense, and sell the software, subject to its terms. · github.com, 8 Oct 2026
License limitation
The MIT license states that the software is provided without warranty. · github.com, 8 Oct 2026
Maker location
The GitHub profile for Romfos lists Poland. · github.com, 8 Oct 2026
Modularity
The project says additional features are provided as separate NuGet packages. · github.com, 8 Oct 2026
Notable modularity
The project says additional features are provided as separate NuGet packages. · github.com, 4 Oct 2026
Purpose
BddDotNet is an open source behavior-driven development framework for C# and .NET with Gherkin support. · github.com, 8 Oct 2026
Runtime support
The README lists support for .NET 10 and later runtimes. · github.com, 8 Oct 2026
Scenario authoring
It supports writing scenarios in Gherkin and building scenarios in C# with a builder pattern. · github.com, 4 Oct 2026
Source generation
Its Gherkin source generator compiles feature files and registers steps. · github.com, 4 Oct 2026
Step arguments
Gherkin step arguments can use C# expressions. · github.com, 8 Oct 2026
Support
The repository provides a GitHub wiki with setup and feature documentation. · github.com, 4 Oct 2026
Supported project examples
The setup guide demonstrates creating a console application in Visual Studio or with the .NET CLI. · github.com, 4 Oct 2026
Table transformations
It supports transforming Gherkin table arguments into C# models. · github.com, 8 Oct 2026
Testing backend
The README says BddDotNet uses Microsoft Testing Platform as its backend. · github.com, 8 Oct 2026
Test platform
It uses Microsoft.Testing.Platform as its testing backend. · github.com, 4 Oct 2026

Where BddDotNet stands on Freedom251

Look at these too