AzSDK.Test/TestCases/Setup/Installation/TestCases_Installation.json

{
  "TestCases": {
   "TestCase": [
    {
      "TestCaseID": "Test-InstallAzSDK-OSS",
      "Priority": "1",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "BVT",
      "Enabled": true,
      "TestMethod": "TestInstallAzSDKOSS",
      "ManualSteps": "Run command 'Install-Module AzSDK -Scope CurrentUser -AllowClobber'. Verify if it installs OSS version of AzSDK.",
      "AutomationStatus": "Manual",
      "Description": "Verify the command successfully installs the AzSDK OSS version for a new user."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-MSIT",
      "Priority": "1",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "BVT",
      "Enabled": true,
      "ManualSteps": "Run command 'iwr 'https://aka.ms/azsdk/install.ps1' -UseBasicParsing | iex'. Verify if it installs MSIT version of AzSDK.",
      "AutomationStatus": "Manual",
      "TestMethod": "TestAzSDKMSITInstallation",
      "Description": "Verify the command successfully installs the AzSDK MSIT version for a new user."
    },
    {
      "TestCaseID": "Test-UpdateAzSDK",
      "Priority": "1",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Try installing AzSDK on a machine having an earlier version of AzSDK installed already. It should successfully install the newer version. ",
      "AutomationStatus": "Manual",
      "TestMethod": "TestUpdateAzSDK",
      "Description": "Verify if you are able to install the AzSDK successfully and required modules are installed on a machine having earlier version of AzSDK."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-PreExisting-AzurePowershell",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Install Azure Powershell on your machine using the web platform installer. Then try instlling the AzSDK. Verify that it is able to install all the modules successfully.",
      "AutomationStatus": "Manual",
      "TestMethod": "TestInstallAzSDKMSIT",
      "Description": "Verify if you are able to install the AzSDK in case where system has pre-existing Azure Powershell modules which are installed via Web Platform Installer."
    },
    {
      "TestCaseID": "Test-UninstallAzSDK",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "First have the AzSDK installed on your machine. Then run command 'Uninstall-Module AzSDK'. Verify if removes all the AzSDK modules from your computer.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to uninstall AzSDK successfully."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-UnrestrictedPolicy",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Run command 'Set-ExecutionPolicy -ExecutionPolicy Unrestricted'. Then run command 'Install-Module AzSDK -Scope CurrentUser -AllowClobber'. Verify if it installs all the AzSDK modules successfully.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to uninstall AzSDK successfully."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-AzureRM38",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "First install AzureRM version 3.8 on your machine. Then install AzSDK. Verify that it installs latest supported version of AzureRM along with AzSDK successfully.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having AzureRM version 3.8"
    },
    {
      "TestCaseID": "Test-InstallAzSDK-AzureRM41",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "First install AzureRM version 4.1 on your machine. Then install AzSDK. Verify that it installs AzSDK successfully without installing the Azure RM again.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having AzureRM version 4.1"
    },
    {
      "TestCaseID": "Test-InstallAzSDK-AzureRM42",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "First install AzureRM version 4.2 on your machine. Then install AzSDK. Verify that it installs Azure RM 4.1 along with AzSDK successfully.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having AzureRM version 4.2"
    },
    {
      "TestCaseID": "Test-InstallAzSDK-AllSignedPolicy",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Run command 'Set-ExecutionPolicy -ExecutionPolicy AllSigned'. Then run command 'Install-Module AzSDK -Scope CurrentUser -AllowClobber'. The dialogue should appear for changing policy to RemoteSigned. Verify that if the change is confirmed then it installs all the AzSDK modules successfully.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having execution policy set to AllSigned."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-RemoteSignedPolicy",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Run command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'. Then run command 'Install-Module AzSDK -Scope CurrentUser -AllowClobber'. Verify that it installs all the AzSDK modules successfully without asking for change in policy.",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having execution policy set to RemoteSigned."
    },
    {
      "TestCaseID": "Test-InstallAzSDK-Version230",
      "Priority": "2",
      "Feature": "Setup",
      "ModuleName": "Installation",
      "Type": "FVT",
      "Enabled": true,
      "ManualSteps": "Run command 'Install-Module AzSDK -RequiredVersion 2.3.0 -Scope CurrentUser'. It should install AzSDK version 2.3.0. Then again run command 'Install-Module AzSDK -Scope CurrentUser'. It should uninstall version 2.3.0 and install version 2.3.1",
      "AutomationStatus": "Manual",
      "TestMethod": "",
      "Description": "Verify if you are able to install AzSDK successfully on a system having AzSDK version 2.3.0 pre-installed."
    }

   ]
  }
}