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

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

            var generatorProvider = new SeleniumNUnitTestGeneratorProvider(codeDomHelper);
            
            container.RegisterInstanceAs<IUnitTestGeneratorProvider>(generatorProvider, "SeleniumNUnit");
        }
Exemplo n.º 2
0
        public void RegisterDependencies(BoDi.ObjectContainer container)
        {
            var projectSettings = container.Resolve <ProjectSettings>();

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

            var generatorProvider = new SeleniumNUnitTestGeneratorProvider(codeDomHelper);

            container.RegisterInstanceAs <IUnitTestGeneratorProvider>(generatorProvider, "SeleniumNUnit");
        }