Skip to content

2.1.0

Latest

Choose a tag to compare

@Romfos Romfos released this 26 Feb 16:04
· 6 commits to main since this release

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