Pester 3.0.0-beta

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.

This is a prerelease version of Pester.
There is a newer version of this package available.
See the version list below for details.
Install-Package Pester -Version 3.0.0-beta
dotnet add package Pester --version 3.0.0-beta
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

 - 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

Dependencies

This package has no dependencies.

Showing the top 2 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

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.10.1 4,592 2/7/2020
4.10.0 627 2/1/2020
4.9.0 18,746 9/8/2019
4.8.1 16,248 5/11/2019
4.8.0 777 5/1/2019
4.7.3 1,843 3/23/2019
4.7.2 843 3/8/2019
4.7.1 285 3/5/2019
4.7.0 235 3/3/2019
4.4.1 16,155 9/20/2018
4.4.0 4,160 7/20/2018
4.4.0-beta2 292 7/8/2018
4.4.0-beta 344 5/6/2018
4.3.1 16,431 2/20/2018
4.2.0 373 2/18/2018
4.2.0-alpha3 399 12/17/2017
4.2.0-alpha2 343 12/12/2017
4.1.1 2,480 12/9/2017
4.1.0 399 11/21/2017
4.0.8 21,701 9/15/2017
4.0.7 332 9/13/2017
4.0.6-rc 324 8/17/2017
4.0.5-rc 473 7/25/2017
4.0.3-rc 2,104 3/22/2017
4.0.2-rc 368 1/18/2017
4.0.1-rc 358 1/18/2017
4.0.0-rc1 365 1/18/2017
3.4.6 87,228 1/13/2017
3.4.3 8,201 8/26/2016
3.4.2 596 8/2/2016
3.4.1 521 7/22/2016
3.4.0 17,096 3/1/2016
3.3.14 7,055 12/16/2015
3.3.13 586 12/10/2015
3.3.12 7,360 12/8/2015
3.3.11 2,548 9/8/2015
3.3.10 1,191 8/14/2015
3.3.9 6,324 5/24/2015
3.3.8 997 4/15/2015
3.3.7 491 4/15/2015
3.3.6 1,320 3/19/2015
3.3.5 1,180 1/23/2015
3.3.4 495 1/22/2015
3.3.3 505 1/22/2015
3.3.2 483 1/19/2015
3.3.1 676 1/12/2015
3.3.0 606 1/10/2015
3.2.0 940 12/3/2014
3.1.1 781 10/29/2014
3.0.3 647 10/13/2014
3.0.2 1,192 9/8/2014
3.0.1.1 601 8/28/2014
3.0.0 665 8/21/2014
3.0.0-beta2 513 7/4/2014
3.0.0-beta 503 6/25/2014
2.1.0 2,463 6/15/2014
2.0.4 742 3/9/2014
2.0.3 7,881 4/16/2013
2.0.2 670 2/28/2013
2.0.1 670 2/3/2013
1.2.1 583 2/3/2013
1.1.1 650 12/29/2012
1.1.0 663 11/4/2012
1.0.6 726 8/12/2012
1.0.5 706 5/6/2012
1.0.3 1,139 5/29/2011
1.0.2 775 5/24/2011
1.0.1 862 5/1/2011
1.0.0 999 3/14/2011
Show less