Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Include Pester Test as Part of VSTS Builds

DZone's Guide to

Include Pester Test as Part of VSTS Builds

This quick tutorial will show you how to include the Pester Test testing framework as part of your CI pipeline in VSTS.

· Performance Zone ·
Free Resource

Sensu is an open source monitoring event pipeline. Try it today.

In this post, I will walk you through how to include the Pester Test testing framework as part of your CI pipeline in VSTS.

1. Add a Pester Test Runner task from the VSTS marketplace.

2. Mention the script folder and script file.

3. Set the Pester support output as NUnit. Configure the Publish test result task to display test reports in the VSTS build dashboard.

4. Execute the build.

5. Test the result in the Build summary.

Sensu: workflow automation for monitoring. Learn more—download the whitepaper.

Topics:
devops ,powershell ,software testing ,performance ,performance testing ,unit testing ,tutorial

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}