private IEnumerable<MethodInfo> getAllTests(Assembly assembly, RunSettings settings) { var tests = new List<MethodInfo>(); assembly.GetFixtures().ForEach(fixture => tests.AddRange(fixture.GetTests(settings.IgnoreCategories))); return tests; }
private IEnumerable<MethodInfo> getTestSelection(Assembly assembly, RunSettings settings) { var tests = new List<MethodInfo>(); assembly.GetFixtures().ForEach(fixture => tests.AddRange(fixture.GetTestsMatching(settings))); return tests; }