public static TestCaseSet <TCase> FromStream(Stream stream) { using (var reader = new TestCaseReader <TCase>(stream)) { var set = new TestCaseSet <TCase>(); set.AddRange(reader.ReadAllTestCaseGroups()); return(set); } }
public static TestCaseSet <TCase> FromFile(string path) { using (var reader = new TestCaseReader <TCase>(path)) { var set = new TestCaseSet <TCase>(); set.AddRange(reader.ReadAllTestCaseGroups()); return(set); } }