public TestProvider(IEnumerable <IMachine> machines, IEnumerable <ITestDriver> drivers, RedisResultCollection results, string runId) { this.results = results; this.runId = runId; this.machines = machines; this.drivers = drivers; }
public TestInvocationManager(RedisResultCollection results, MachineRepository machines, TestPlanRepository tpr, TestDriverManager testDriverManager) { this.results = results; this.machines = machines; this.testPlans = tpr; this.testDriverManager = testDriverManager; worker = new Thread(Run); }
void InitTestPlans() { var client = new RedisClient(TestVisorService.RedisUri); tpr = new TestPlanRepository(client, baseDirectory + "/TestPlans", "TestPlans"); ResultsDirectory = baseDirectory + "/TestResults"; results = new RedisResultCollection(client, ResultsDirectory); tim = new TestInvocationManager(results, machines, tpr, testDriverManager); tim.Start(); }