test/Group-CVPlannedFailover.Tests.ps1
if(($null -eq $TestName) -or ($TestName -contains 'Group-CVPlannedFailover')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'Group-CVPlannedFailover.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent } . ($mockingPath | Select-Object -First 1).FullName } Describe 'Group-CVPlannedFailover' { It 'Group' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } It 'GroupViaIdentity' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } |