Skip to content

Releases: Romfos/BddDotNet

2.1.0

26 Feb 16:04

Choose a tag to compare

Changes:

  1. Adding fallback strategy for steps

Now you can use Fallback extension for custom handling situation when matched step is not found:

services.Fallback(async context =>
{
    Console.WriteLine("Fallback");
});
  1. Add non generic Scenario extension

Scenario extension method now is not generic. Generic version is still here, but could be removed in future versions.

services.Scenario("feature1", "scenario1", async scenario =>
{
    await scenario.Then("then1");
});
  1. Added concurrent execution mode (preview)

You can use Configure extension to make scenarios run cuncurrently

services.Configure(new() { MaxConcurrentTasks = 2 });

Full Changelog: 2.0.1...2.1.0

2.0.1

21 Feb 14:49

Choose a tag to compare

Changed:

  • Hotfix for IAsyncDisposable in BddDotNetTestFramework

Full Changelog: 2.0.0...2.0.1

2.0.0

21 Feb 14:27

Choose a tag to compare

What's Changed

BddDotNet 2.0.0 — Major Release (Breaking Changes)

This is a major release and introduces several breaking changes. Please review the updates carefully before upgrading.

1. Updated Platform & Tooling Support

Starting from v2.0.0, BddDotNet supports:

  • .NET 10+
  • .NET Framework 4.8+
  • Visual Studio 2026

⚠️ Earlier versions of .NET and Visual Studio are no longer supported.

2. Namespace & Public API Changes

Several public types and interfaces have been updated.

If you use custom hooks, you must update namespaces and method signatures accordingly.

Key Changes

  • Hooks now receive a context object
  • Async postfix added to asynchronous methods
  • Namespaces reorganized for clarity and consistency
  • Updates apply to:
    • IAfterScenario
    • Other lifecycle interfaces

Refer to the updated documentation for detailed migration guidance.

3. ITestContext Removed

ITestContext has been removed.

To access feature and scenario information:

  • Use IBeforeScenario
  • Retrieve names from the provided context object

4. Correct IDisposable Handling

IDisposable implementations are now properly disposed after all tests complete.

This ensures:

  • Proper resource cleanup
  • Improved reliability of test execution

5. New Step Lifecycle Hooks

Step-level hooks are now available:

  • IBeforeStep
  • IAfterStep

These allow fine-grained control over step execution behavior.

6. Dependency Updates

  • Dependencies have been upgraded
  • MTP 2.1.0 is now used as the backend

🔧 Migration Required

Due to breaking changes in public APIs and namespaces, migration is required when upgrading from earlier versions.

Please consult the documentation for:

  • Updated namespaces
  • Interface changes
  • Required signature updates

Full Changelog: 1.3.0...2.0.0

1.3.0

11 Nov 15:45
3a51762

Choose a tag to compare

What's Changed

  • Add .NET 10 tfm
  • Update dependencies
  • Update Microsoft.Testing.Platform to version 2
  • Move BddDotNet.Gherkin.Models out of preview

Full Changelog: 1.2.0...1.3.0

1.2.0

19 Aug 08:39

Choose a tag to compare

Chjanges:

  • Update MTP to 1.8.2
  • Improve BddDotNet.Gherkin.SourceGenerator to supprot Rules, Backgrounds, DocString

Full Changelog: 1.1.0...1.2.0

1.1.0

16 Aug 00:15
86e46c3

Choose a tag to compare

New:

  • Preview of BddDotNet.Gherkin.Models. This library allow to transform gherkin data tables to CLR flat models

Hotfix:

  • Support TimingProperty from MTP to provide correct execution time for scenarios
  • Remove ImplicitUsings dependency for attributes

Full Changelog: 1.0.0...1.1.0

1.0.0

11 Aug 14:58

Choose a tag to compare

This release contains following features:

BddDotNet:

  • .NET 8+ or .NET Framework 4.7.2+
  • Ahead-of-time support for .NET8+
  • Scenario and step definitions

BddDotNet.Extensibility:

  • IBeforeScenario
  • IAfterScenario
  • IArgumentTransformation

BddDotNet.Gherkin.SourceGenerator:

  • Features
  • Scenarios
  • Scenario outline
  • DataTables
  • Step declarations

BddDotNet.Gherkin.CSharpExpressions:

  • Support C# expressions for step arguments and DataTables