In this post, I will walk you through how to include pester test as part of your CI pipeline in VSTS.

Read more about IaC Unit Test using Pester Test

1. Add Pester Test Runner task from VSTS market place

2. Mention the script folder and script file

3.Pester support out put as NUnit. Configure Publish test result task to display test report in VSTS build dashboard.

4. Execute the build

5. Test result in Build summary.

5. More details about test results.

Related Posts

About Ajeet Chouksey

With a robust background spanning more than 18 years, I am an adept Azure and Azure DevOps architect and engineer, dedicated to crafting Azure-centric solutions that prioritize customer requirements and agile methodologies. My expertise encompasses steering extensive cloud migration initiatives and advocating for Azure best practices, all aimed at streamlining costs and steering multinational teams towards success. Fueled by a passion for technological innovation, I am committed to perpetual learning, constantly advancing my proficiency in Azure, AI, MLOps, and Product Management to stay at the forefront of the industry..