public static void BeforeTestRunInjection(IISWebServerDriver webServerDriver) { _webServerDriver = webServerDriver; _config = ConfigBuilder.Configuration; _config.SiteUrl = webServerDriver.SiteUrl; webServerDriver.StartWebServer(); }
private static void SetUpTestEnvironment(IISWebServerDriver webServerDriver) { webServerDriver.StartWebServer(); _config = ConfigBuilder.Configuration; _config.SiteUrl = webServerDriver.SiteUrl; if (string.IsNullOrEmpty(_config.A18nProfileTag)) { _config.A18nProfileTag = DefaultProfileTag; } if (string.IsNullOrWhiteSpace(_config.A18nProfileId)) { _a18nClient = new A18nClient(_config.A18nApiKey, createNewDefaultProfile: true, _config.A18nProfileTag); } else { _a18nClient = new A18nClient(_config.A18nApiKey, _config.A18nProfileId); } }
public static void BeforeTestRunInjection(IISWebServerDriver webServerDriver) { _webServerDriver = webServerDriver; SetUpTestEnvironment(webServerDriver); }