Debugging PowerShell Modules with Pester Unit Tests in Visual Studio Code
Offered By: Trevor Sullivan via YouTube
Course Description
Overview
Learn how to debug PowerShell modules using Pester unit tests in Visual Studio Code. Build a simple PowerShell script module, write failing tests with Pester, and use VS Code's debugging tools to identify and fix issues. Set breakpoints, step through code line-by-line, and ensure passing unit tests. Explore topics such as creating sample modules, adding functions to return class instances, creating Pester test files, adding describe blocks, debugging module functions, and fixing bugs. Perfect for PowerShell module authors looking to improve their debugging skills and ensure code quality.
Syllabus
Intro to Debugging PowerShell Modules
Create Sample PowerShell Module
Add Function to Return Class Instance
Create Pester Test File
Add Describe Block
Debug PowerShell Module Function
Fix Bug in PowerShell Function
Run Final Successful Test
Taught by
Trevor Sullivan
Related Courses
Windows PowerShell FundamentalsMicrosoft via edX Windows 10 Features for a Mobile Workforce: Managing and Maintaining Devices in the Enterprise
edX Deploying Your First Resources in Azure
Udemy Advanced Server 2016 Administration: Hands-on Training
Udemy Windows Server 2016 Administration
Udemy