private static void PrepareLicensing() { if (TestAssembly != null) { TestCounter.SetLicenseData( Configuration().Licenses(), DateTime.ParseExact(ReleaseDate, "yyyy-MM-dd", CultureInfo.InvariantCulture), TestAssembly.GetName().Name); } }
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); }