public void RegisterDependencies(BoDi.ObjectContainer container)
        {
            var projectSettings = container.Resolve<ProjectSettings>();

            var codeDomHelper = container.Resolve<CodeDomHelper>(projectSettings.ProjectPlatformSettings.Language);

            var generatorProvider = new SeleniumNUnitTestGeneratorProvider(codeDomHelper, projectSettings);
            
            container.RegisterInstanceAs<IUnitTestGeneratorProvider>(generatorProvider, "SeleniumNUnit");
        }
        public void RegisterDependencies(BoDi.ObjectContainer container)
        {
            var runtimeProvider = new NUnitRuntimeProvider();

            container.RegisterInstanceAs<IUnitTestRuntimeProvider>(runtimeProvider, "BBTest");
        }
 public void RegisterCustomizations(BoDi.ObjectContainer container, TechTalk.SpecFlow.Configuration.RuntimeConfiguration runtimeConfiguration)
 {
 }
 public void RegisterCustomizations(BoDi.ObjectContainer container, TechTalk.SpecFlow.Generator.Configuration.SpecFlowProjectConfiguration generatorConfiguration)
 {
 }
Beispiel #5
0
            public override void RegisterGlobalContainerDefaults(BoDi.ObjectContainer container)
            {
                base.RegisterGlobalContainerDefaults(container);

                var pluginLoaderStub = new Mock<IRuntimePluginLoader>();
                pluginLoaderStub.Setup(pl => pl.LoadPlugin(It.IsAny<PluginDescriptor>())).Returns(pluginToReturn);
                container.RegisterInstanceAs<IRuntimePluginLoader>(pluginLoaderStub.Object);
            }
 public void RegisterDependencies(BoDi.ObjectContainer container)
 {
     // SKIP
 }
 public void RegisterCustomizations(BoDi.ObjectContainer container, SpecFlowProjectConfiguration generatorConfiguration)
 {
     container.RegisterTypeAs<AttributeGenerator, ITestMethodTagDecorator>("mka.AttributeGenerator");
 }
 public void RegisterCustomizations(BoDi.ObjectContainer container, TechTalk.SpecFlow.Generator.Configuration.SpecFlowProjectConfiguration generatorConfiguration)
 {
     container.RegisterTypeAs<MsTestWebDriverGenerator, IUnitTestGeneratorProvider>();
     container.RegisterTypeAs<MsTestRuntimeProvider, IUnitTestRuntimeProvider>();
 }