-
Notifications
You must be signed in to change notification settings - Fork 431
Pester Task
Richard Fennell edited this page Jul 4, 2016
·
8 revisions
This task is available in the VSTS Marketplace
A task to install and run PowerShell Pester based tests The task takes two parameters
- The root folder to look for test scripts with the naming convention *.tests.ps1. Defaults to $(Build.SourcesDirectory)*
- The results file name, defaults to $(Build.SourcesDirectory)\Test-Pester.XML
- RunIn32Bit, defaults to false, if set forced PowerShell to be loaded 32bit as opposed to 64bit
The Pester task does not in itself upload the test results, it just throws and error if tests fails. It relies on the standard test results upload task.
For more details on usage see this blog post