private static IEnumerable <string> GetGilesAssembliesToUse() { var runners = TypeLoader.GetNewInstancesByType <IFrameworkRunner>(); var result = new List <string> { typeof(GilesAppDomainRunner).Assembly.Location }; result.AddRange(runners.SelectMany(x => x.RequiredAssemblies()).Where(x => !string.IsNullOrWhiteSpace(x))); return(result); }
public TestFrameworkResolver() { var inspectors = TypeLoader.GetNewInstancesByType <TestFrameworkInspector>(); frameworkInspectors.AddRange(inspectors); }