public static void DoDeployment(TestContext context) { AssertListener.Initialize(); NodejsTestData.Deploy(); if (NodejsPackage.Instance == null) { // The REPL is open on restart, but our package isn't loaded yet. Force // it to load now. var shell = (IVsShell)NodejsPackage.GetGlobalService(typeof(SVsShell)); Guid packageGuid = typeof(NodejsPackage).GUID; IVsPackage package; if (ErrorHandler.Failed(shell.LoadPackage(ref packageGuid, out package))) { return; } Debug.Assert(NodejsPackage.Instance != null); } }
public static void DoDeployment(TestContext context) { AssertListener.Initialize(); NodejsTestData.Deploy(); // The tests currently only support Azure Tools v2.2. // Support for other versions will be added later. var azureToolsVersion = AzureUtility.ToolsVersion.V22; if (!AzureUtility.AzureToolsInstalled(azureToolsVersion)) { Assert.Inconclusive(string.Format("Azure Tools v{0} required", azureToolsVersion)); } publishSettingsFilePath = Environment.GetEnvironmentVariable("TEST_AZURE_SUBSCRIPTION_FILE"); Assert.IsFalse(string.IsNullOrEmpty(publishSettingsFilePath), "TEST_AZURE_SUBSCRIPTION_FILE environment variable must be set to the path of a .publishSettings file for the Azure subscription."); Assert.IsTrue(File.Exists(publishSettingsFilePath), "Azure subscription settings file does not exist '{0}'.", publishSettingsFilePath); }
public static void DoDeployment(TestContext context) { AssertListener.Initialize(); NodejsTestData.Deploy(); }
public static void DoDeployment(TestContext context) { NodejsTestData.Deploy(); }