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