Added two pester tests for Get-VMCCommand and Connect-VMCVIServer.
This commit is contained in:
6
Pester/Functions/Shared.ps1
Normal file
6
Pester/Functions/Shared.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
#Requires -Modules Pester
|
||||
function defParam($command, $name) {
|
||||
It "Has a -$name parameter" {
|
||||
$command.Parameters.Item($name) | Should Not BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user