Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Debugging PowerShell Modules with Pester Unit Tests in Visual Studio Code

Trevor Sullivan via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Build a simple PowerShell script module, write failing Pester unit tests, and use Visual Studio Code’s debugger to trace and fix a function bug. The walkthrough assumes familiarity with authoring PowerShell modules.

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

Reviews

Start your review of Debugging PowerShell Modules with Pester Unit Tests in Visual Studio Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.