Pester 3.0.0-beta

This is a prerelease version of Pester.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Pester --version 3.0.0-beta                
NuGet\Install-Package Pester -Version 3.0.0-beta                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pester" Version="3.0.0-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pester --version 3.0.0-beta                
#r "nuget: Pester, 3.0.0-beta"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pester as a Cake Addin
#addin nuget:?package=Pester&version=3.0.0-beta&prerelease

// Install Pester as a Cake Tool
#tool nuget:?package=Pester&version=3.0.0-beta&prerelease                

Pester provides a framework for running BDD style Tests to execute and validate PowerShell commands inside of PowerShell and offers a powerful set of Mocking Functions that allow tests to mimic and mock the functionality of any command inside of a piece of powershell code being tested. Pester tests can execute any command or script that is accesible to a pester test file. This can include functions, Cmdlets, Modules and scripts. Pester can be run in ad hoc style in a console or it can be integrated into the Build scripts of a Continuous Integration system.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Pester:

Package Downloads
Ops.Resource.Core.Lan.Windows

Provides the core cookbooks and scripts that are used to configure new Windows machines on a local network.

Ops.Resource.Core.Azure.Windows

Provides the core cookbooks and scripts that are used to create new Windows machine images on Azure.

PesterForPackageManagerConsole

Expose Pester to the Package Manager Console inside Visual Studio

Ops.Resource.Core.HyperV.Image.Windows

Provides the core cookbooks and scripts that are used to configure new Windows install on a Hyper-V virtual hard drive template.

Ops.Resource.Core.HyperV.Resource.Windows

Provides the scripts that are used to create a new Windows machine on Hyper-V from a virtual hard drive template.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Pester:

Repository Stars
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
gsoft-inc/dynamite
C# toolkit to help you build maintainable SharePoint 2013 farm solutions
Version Downloads Last updated
5.5.0 26,895 6/27/2023
5.4.1 7,778 4/5/2023
5.4.0 6,436 1/10/2023
5.3.3 8,450 4/29/2022
5.3.2 948 4/22/2022
5.3.1 4,389 9/21/2021
5.3.0 1,006 8/17/2021
5.2.2 1,620 5/27/2021
5.2.1 747 5/13/2021
5.2.0 1,314 5/6/2021
5.1.1 35,985 12/11/2020
5.1.0 883 11/25/2020
5.0.4 2,427 9/3/2020
5.0.4-beta1 537 8/13/2020
4.10.2-beta1 313 5/29/2021
4.10.1 165,694 2/7/2020
4.10.0 1,393 2/1/2020
4.9.0 261,839 9/8/2019
4.8.1 38,542 5/11/2019
4.8.0 1,478 5/1/2019
4.7.3 2,643 3/23/2019
4.7.2 1,600 3/8/2019
4.7.1 5,261 3/5/2019
4.7.0 911 3/3/2019
4.4.1 175,120 9/20/2018
4.4.0 5,045 7/20/2018
4.4.0-beta2 991 7/8/2018
4.4.0-beta 989 5/6/2018
4.3.1 52,203 2/20/2018
4.2.0 1,337 2/18/2018
4.2.0-alpha3 1,024 12/17/2017
4.2.0-alpha2 1,013 12/12/2017
4.1.1 3,621 12/9/2017
4.1.0 1,296 11/21/2017
4.0.8 22,769 9/15/2017
4.0.7 1,246 9/13/2017
4.0.6-rc 954 8/17/2017
4.0.5-rc 1,933 7/25/2017
4.0.3-rc 4,681 3/22/2017
4.0.2-rc 998 1/18/2017
4.0.1-rc 998 1/18/2017
4.0.0-rc1 977 1/18/2017
3.4.6 170,051 1/13/2017
3.4.3 16,035 8/26/2016
3.4.2 1,879 8/2/2016
3.4.1 2,214 7/22/2016
3.4.0 25,120 3/1/2016
3.3.14 9,585 12/16/2015
3.3.13 1,493 12/10/2015
3.3.12 11,100 12/8/2015
3.3.11 16,746 9/8/2015
3.3.10 21,730 8/14/2015
3.3.9 24,870 5/24/2015
3.3.8 2,006 4/15/2015
3.3.7 1,536 4/15/2015
3.3.6 2,320 3/19/2015
3.3.5 2,180 1/23/2015
3.3.4 1,508 1/22/2015
3.3.3 1,451 1/22/2015
3.3.2 1,430 1/19/2015
3.3.1 1,589 1/12/2015
3.3.0 1,570 1/10/2015
3.2.0 3,745 12/3/2014
3.1.1 1,902 10/29/2014
3.0.3 1,746 10/13/2014
3.0.2 4,880 9/8/2014
3.0.1.1 1,820 8/28/2014
3.0.0 1,769 8/21/2014
3.0.0-beta2 1,308 7/4/2014
3.0.0-beta 1,362 6/25/2014
2.1.0 3,626 6/15/2014
2.0.4 2,020 3/9/2014
2.0.3 9,663 4/16/2013
2.0.2 1,669 2/28/2013
2.0.1 1,681 2/3/2013
1.2.1 1,589 2/3/2013
1.1.1 1,658 12/29/2012
1.1.0 1,821 11/4/2012
1.0.6 1,694 8/12/2012
1.0.5 1,666 5/6/2012
1.0.3 2,188 5/29/2011
1.0.2 1,760 5/24/2011
1.0.1 1,940 5/1/2011
1.0.0 2,178 3/14/2011

 - Add full support for module mocking
 - Isolate Pester internals from tested code
 - Tests.ps1 files can be run directly
 - Add It scope to TestDrive
 - Add It scope to Mock
 - Add Scope parameter to Assert-MockCalled
 - Measure test time more precisely