Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests. Get rid of try { } catch { } formula to assert that errors were thrown. Small fixes in tests to obey the new Pester -Parameter syntax. |
||
---|---|---|
.. | ||
CimCmdletsResources.Tests.ps1 | ||
ConsoleHostResources.Tests.ps1 | ||
DotNetEventingResources.Tests.ps1 | ||
ManagementCommandsResources.Tests.ps1 | ||
SecurityResources.Tests.ps1 | ||
SMAResources.Tests.ps1 | ||
TestRunner.ps1 | ||
UtilityResources.Tests.ps1 | ||
WSManResources.Tests.ps1 |