Summary: Use Pester to safely test script changes to Active Directory.
How can I test my Active Directory script without having it make changes to my live domain?
Use Pester’s mocking feature to test your code without using the actual Active Directory cmdlets...
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 testing...
Summary: Learn how to incorporate Pester into an automated system.
How do I incorporate Pester into an automated system?
Use one of the features in Pester that are built for this purpose: NUnit XML export, -PassThru switch, or the –EnableExit switch in conjunction ...
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:
Today, we’ll go into more detail about what goes into these ...
Summary: Learn how to start a Pester test.
How do I run Pester tests?
Place your tests into a file with a name that ends with .Tests.ps1, and then run the Invoke-Pester cmdlet...