private LightBddConfiguration Configure()
        {
            var configuration = new LightBddConfiguration();

            configuration
            .ExecutionExtensionsConfiguration()
            .EnableStepCommenting();

            configuration.Get <FeatureProgressNotifierConfiguration>()
            .UpdateNotifier(NUnit3ProgressNotifier.CreateFeatureProgressNotifier());

            configuration.Get <ScenarioProgressNotifierConfiguration>()
            .UpdateNotifierProvider(NUnit3ProgressNotifier.CreateScenarioProgressNotifier);

            OnConfigure(configuration);
            return(configuration);
        }
Exemple #2
0
 /// <summary>
 /// Appends LightBDD.NUnit3 default feature progress notifiers.
 /// </summary>
 public static FeatureProgressNotifierConfiguration AppendFrameworkDefaultProgressNotifiers(this FeatureProgressNotifierConfiguration configuration)
 {
     return(configuration.AppendNotifiers(NUnit3ProgressNotifier.CreateFeatureProgressNotifier()));
 }