@@ -25,7 +25,7 @@ Comparing with Reqnroll (or Specflow, other popular framework in .NET Ecosystem)
2525- Extensibility via public interfaces and DI
2626- Modular. Small and fast library. All extra features are provided as separate nuget packages
2727- No or limited reflection usage. Most of the code is totally reflection free.
28- - Support .NET 8 + and .NET Framework 4.7.2 + runtimes(we recommend to use .NET 10 as best option if possible)
28+ - Support .NET 10 + and .NET Framework 4.8 + runtimes(we recommend to use .NET 10 as best option if possible)
2929- AOT & Trimming friendly. More info: [ Native AOT deployment] ( https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/ )
3030- Nullable reference types and other modern dotnet features support
3131
@@ -76,11 +76,11 @@ using Microsoft.Testing.Platform.Builder;
7676var builder = await TestApplication .CreateBuilderAsync (args );
7777var services = builder .AddBddDotNet ();
7878
79- services .Scenario <Program >(" feature1" , " scenario1" , async context =>
79+ services .Scenario <Program >(" feature1" , " scenario1" , async scenario =>
8080{
81- await context .Given (" this is given step" );
82- await context .When (" this is when step" );
83- await context .Then (" this is then step" );
81+ await scenario .Given (" this is given step" );
82+ await scenario .When (" this is when step" );
83+ await scenario .Then (" this is then step" );
8484});
8585
8686services .Given (new (" this is given step" ), () =>
0 commit comments