internal static Type TryFindDefaultStartupType()
        {
            EnsureTestAssembly();

            var defaultStartupType = GeneralConfiguration().StartupType() ?? $"{Environment.EnvironmentName}Startup";

            // check root of the test project
            var startup =
                TestAssembly.GetType(defaultStartupType) ??
                TestAssembly.GetType($"{TestAssembly.GetName().Name}.{defaultStartupType}");

            return(startup);
        }
Exemple #2
0
 private static Type GetTypeOfClass2()
 {
     return(TestAssembly.GetType("AssemblyToProcess.Class2"));
 }