Ejemplo n.º 1
0
        public TestRunnerManagerTest()
        {
            var globalContainer = new RuntimeTestsContainerBuilder().CreateGlobalContainer(typeof(TestRunnerManagerTest).Assembly);

            testRunnerManager = globalContainer.Resolve <TestRunnerManager>();
            testRunnerManager.Initialize(anAssembly);
        }
Ejemplo n.º 2
0
        internal static IObjectContainer CreateDefaultFeatureContainer(StringConfigProvider configurationHolder, IDefaultDependencyProvider defaultDependencyProvider = null)
        {
            var instance            = new RuntimeTestsContainerBuilder(defaultDependencyProvider);
            var testThreadContainer = CreateDefaultTestThreadContainer(configurationHolder, null, null, instance);

            CultureInfo cultureInfo = new CultureInfo("en-US");

            return(instance.CreateFeatureContainer(testThreadContainer, new FeatureInfo(cultureInfo, "test feature info", "", ProgrammingLanguage.CSharp)));
        }