public TestRunnerManager(IObjectContainer globalContainer, IContainerBuilder containerBuilder, Configuration.SpecFlowConfiguration specFlowConfiguration, IRuntimeBindingRegistryBuilder bindingRegistryBuilder)
 {
     this.globalContainer        = globalContainer;
     this.containerBuilder       = containerBuilder;
     this.specFlowConfiguration  = specFlowConfiguration;
     this.bindingRegistryBuilder = bindingRegistryBuilder;
 }
        private SpecFlowConfiguration LoadJson(SpecFlowConfiguration specFlowConfiguration)
        {
            var jsonContent = File.ReadAllText(GetSpecflowJsonFilePath());

            return(LoadJson(specFlowConfiguration, jsonContent));
        }
 private SpecFlowConfiguration LoadAppConfig(SpecFlowConfiguration specFlowConfiguration,
                                             ConfigurationSectionHandler specFlowConfigSection)
 {
     return(_appConfigConfigurationLoader.LoadAppConfig(specFlowConfiguration, specFlowConfigSection));
 }
        private SpecFlowConfiguration LoadAppConfig(SpecFlowConfiguration specFlowConfiguration)
        {
            var configSection = ConfigurationManager.GetSection("specFlow") as ConfigurationSectionHandler;

            return(LoadAppConfig(specFlowConfiguration, configSection));
        }
 public SpecFlowConfiguration Update(SpecFlowConfiguration specFlowConfiguration, ConfigurationSectionHandler specFlowConfigSection)
 {
     return(LoadAppConfig(specFlowConfiguration, specFlowConfigSection));
 }
Exemple #6
0
 private SpecFlowConfiguration LoadJson(SpecFlowConfiguration specFlowConfiguration, string jsonContent)
 {
     return(_jsonConfigurationLoader.LoadJson(specFlowConfiguration, jsonContent));
 }
 public SpecFlowConfiguration LoadConfiguration(SpecFlowConfiguration specFlowConfiguration)
 {
     return(_configurationLoader.Load(specFlowConfiguration));
 }
 protected bool Equals(SpecFlowConfiguration other)
 {
     return(ConfigSource == other.ConfigSource && Equals(CustomDependencies, other.CustomDependencies) && Equals(GeneratorCustomDependencies, other.GeneratorCustomDependencies) && Equals(FeatureLanguage, other.FeatureLanguage) && Equals(BindingCulture, other.BindingCulture) && string.Equals(UnitTestProvider, other.UnitTestProvider) && StopAtFirstError == other.StopAtFirstError && MissingOrPendingStepsOutcome == other.MissingOrPendingStepsOutcome && AllowDebugGeneratedFiles == other.AllowDebugGeneratedFiles && AllowRowTests == other.AllowRowTests && TraceSuccessfulSteps == other.TraceSuccessfulSteps && TraceTimings == other.TraceTimings && MinTracedDuration.Equals(other.MinTracedDuration) && StepDefinitionSkeletonStyle == other.StepDefinitionSkeletonStyle && Equals(AdditionalStepAssemblies, other.AdditionalStepAssemblies) && Equals(Plugins, other.Plugins) && MarkFeaturesParallelizable == other.MarkFeaturesParallelizable && Equals(SkipParallelizableMarkerForTags, other.SkipParallelizableMarkerForTags));
 }
 public IEnumerable <PluginDescriptor> GetPlugins(SpecFlowConfiguration specFlowConfiguration)
 {
     return(LoadConfiguration(specFlowConfiguration).Plugins);
 }