Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public TestFrameworkResolver()
        {
            var inspectors = TypeLoader.GetNewInstancesByType <TestFrameworkInspector>();

            frameworkInspectors.AddRange(inspectors);
        }