Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Connect Pester to Automated System

$
0
0

Summary: Learn how to incorporate Pester into an automated system.

Hey, Scripting Guy! Question How do I incorporate Pester into an automated system?

Hey, Scripting Guy! Answer Use one of the features in Pester that are built for this purpose: NUnit XML export, -PassThru switch, or the
            –EnableExit switch in conjunction with powershell.exe’s exit code, for example:

$testResults = Invoke-Pester -PassThru -OutputFormat NUnitXml -OutputFile .\TestResults.xml


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>