예제 #1
0
        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);
        }
예제 #2
0
        public TestFrameworkResolver()
        {
            var inspectors = TypeLoader.GetNewInstancesByType <TestFrameworkInspector>();

            frameworkInspectors.AddRange(inspectors);
        }