Example #1
0
        private SpecFlowProjectConfiguration LoadConfiguration()
        {
            ISpecFlowConfigurationReader        configurationReader = new VsSpecFlowConfigurationReader();        //TODO: load through DI
            ISpecFlowProjectConfigurationLoader configurationLoader = new VsSpecFlowProjectConfigurationLoader(); //TODO: load through DI

            IProjectReference projectReference = new VsProjectScopeReference(this);

            return(configurationLoader.LoadConfiguration(configurationReader.ReadConfiguration(projectReference), projectReference));
        }
Example #2
0
        private SpecFlowProjectConfiguration LoadConfiguration()
        {
            ISpecFlowConfigurationReader configurationReader = new VsSpecFlowConfigurationReader(); //TODO: load through DI
            ISpecFlowProjectConfigurationLoader configurationLoader = new VsSpecFlowProjectConfigurationLoader(); //TODO: load through DI

            IProjectReference projectReference = new VsProjectScopeReference(this);

            return configurationLoader.LoadConfiguration(configurationReader.ReadConfiguration(projectReference), projectReference);
        }