/// <summary> /// Create a test of a given type. /// </summary> public TestInfo CreateTest(Stream s, string name, string testTypeId) { var driver = testDriverManager.GetTestDriver(testTypeId); driver.InstallTest(name, s); testDriverManager.RefreshTests(); return(testDriverManager.Tests.Where(t => t.Id == name).First()); }