Tests/psgallery.tests.ps1
Describe "Validation of PSGallery" { It "The PowerShell Gallery should be responsive" { $request = [System.Net.WebRequest]::Create("https://www.powershellgallery.com") $response = $Request.GetResponse() $response.StatusCode | Should be OK } } |