Пример #1
0
        public ITestRunnerGateway GetTestRunnerGateway()
        {
            TestRunnerTool testRunnerTool = integrationOptionsProvider.GetOptions().TestRunnerTool;

            try
            {
                return(container.Resolve <ITestRunnerGateway>(testRunnerTool.ToString()));
            }
            catch (Exception ex)
            {
                tracer.Trace("Unable to resolve test runner gateway: " + ex, GetType().Name);
                return(null);
            }
        }
 public ITestRunnerGateway CreateTestRunner(IObjectContainer container)
 {
     return(container.Resolve <ITestRunnerGateway>(tool.ToString()));
 }