Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Unit Testing PowerShell Code with Pester

Summary: Guest blogger, Dave Wyatt, discusses using Pester to analyze small pieces of Windows PowerShell code.    Note   This is a five-part series that includes the following posts: Before we get into the technical details today, let’s define a few terms. There are several categories of automated...

Getting Started with Pester

Summary: Guest blogger, Dave Wyatt explains how to get information back from Pester.    Note   This is a five-part series that includes the following posts: At the end of yesterday’s post, I showed this brief example of a .Tests.ps1 file: (image) Today, we’ll go into more detail about what goes into...