-
Notifications
You must be signed in to change notification settings - Fork 0
Microsoft.Testing.Platform
Romfos edited this page Aug 5, 2025
·
1 revision
BddDotNet is based on Microsoft.Testing.Platform. Read more about Microsoft.Testing.Platform
Typical empty Microsoft.Testing.Platform app looks like:
using Microsoft.Testing.Platform.Builder;
var builder = await TestApplication.CreateBuilderAsync(args);
using var testApp = await builder.BuildAsync();
return await testApp.RunAsync();To configure BddDotNet you need to use AddBddDotNet extension method
using BddDotNet;
using Microsoft.Testing.Platform.Builder;
var builder = await TestApplication.CreateBuilderAsync(args);
var services = builder.AddBddDotNet(); // new line
using var testApp = await builder.BuildAsync();
return await testApp.RunAsync();This method will return IServiceCollection instance for further configuration
Setup
BddDotNet
Extensibility
Gherkin