Deploy/RunTest.ps1

Write-Host "Installing dependencies";

Install-Module Pester `
    -Scope CurrentUser `
    -Force `
    -SkipPublisherCheck; 

try {
    Install-Module Az `
        -AllowClobber `
        -Scope CurrentUser `
        -Force `
        -SkipPublisherCheck;
} catch { }

# Run test
Write-Host "Invoking Tests";
Write-Host;

Invoke-Pester `
    -EnableExit;