private static LightBddConfiguration Configure(Action <LightBddConfiguration> onConfigure) { var configuration = new LightBddConfiguration(); configuration .ExecutionExtensionsConfiguration() .EnableStepCommenting(); configuration.Get <FeatureProgressNotifierConfiguration>() .UpdateNotifier(MsTest2ProgressNotifier.CreateFeatureProgressNotifier()); configuration.Get <ScenarioProgressNotifierConfiguration>() .UpdateNotifierProvider(MsTest2ProgressNotifier.CreateScenarioProgressNotifier); onConfigure(configuration); return(configuration); }
/// <summary> /// Appends LightBDD.MsTest2 default feature progress notifiers. /// </summary> public static FeatureProgressNotifierConfiguration AppendFrameworkDefaultProgressNotifiers(this FeatureProgressNotifierConfiguration configuration) { return(configuration.AppendNotifiers(MsTest2ProgressNotifier.CreateFeatureProgressNotifier())); }