Главная
Study mode:
on
1
Intro to Debugging PowerShell Modules
2
Create Sample PowerShell Module
3
Add Function to Return Class Instance
4
Create Pester Test File
5
Add Describe Block
6
Debug PowerShell Module Function
7
Fix Bug in PowerShell Function
8
Run Final Successful Test
Description:
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.

Debugging PowerShell Modules with Pester Unit Tests in Visual Studio Code

Trevor Sullivan
Add to list