Nachrichten
Normally, when invoking a simple test script, we just need the Path parameter. Invoke-Pester -Path C:\Test.ps1. However, when passing parameters to the test script, we must call Invoke-Pester a little ...
Let's now add the OutputFormat and OutputFile parameters to send Pester's test results to an nUnit-compatible XML file. Invoke-Pester -Path C:\IISWebSite.Tests.ps1 -OutputFormat NUnitXml -OutputFile C ...
This allows unit testing to a degree of powershell task code. This still requires accurate mocking of the passing of parameters to the powershell scripts. First unit tests that should be implemented.
Einige Ergebnisse wurden ausgeblendet, weil sie für Sie möglicherweise nicht zugänglich sind.
Ergebnisse anzeigen, auf die nicht zugegriffen werden kann