AzSDK.Test/TestCases/Setup/Installation/InstallationTest.ps1
#Set-StrictMode -Version Latest #class InstallationTest:AzSDKTestBase{ #[string]$BaselineOutputPath = [string]::Empty #InstallationTest([TestCase] $testcase, [TestSettings] $testsettings):Base($testcase, $testsettings){ # if(![string]::IsNullOrEmpty($testcase.BaselineOutput)) # { # $this.BaselineOutputPath =[CommonHelper]::GetPath([PathList]::TestData,$testcase)+$testcase.BaselineOutput # } #} #[void] Execute(){ # switch ($this.testcase.TestMethod.Trim()){ # "TestInstallAzSDKOSS"{ # $this.TestInstallAzSDKOSS() # break # } # } #} #[TestCaseResult] TestInstallAzSDKOSS(){ # try{ # Install-Module AzSDK -Scope CurrentUser # } # catch{ # } #} #} |