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-SharePoint/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.9.0 9,863 9/8/2019
4.8.1 12,454 5/11/2019
4.8.0 734 5/1/2019
4.7.3 1,780 3/23/2019
4.7.2 786 3/8/2019
4.7.1 241 3/5/2019
4.7.0 191 3/3/2019
4.4.1 16,066 9/20/2018
4.4.0 4,108 7/20/2018
4.4.0-beta2 255 7/8/2018
4.4.0-beta 305 5/6/2018
4.3.1 13,864 2/20/2018
4.2.0 327 2/18/2018
4.2.0-alpha3 361 12/17/2017
4.2.0-alpha2 307 12/12/2017
4.1.1 2,392 12/9/2017
4.1.0 354 11/21/2017
4.0.8 21,592 9/15/2017
4.0.7 290 9/13/2017
4.0.6-rc 285 8/17/2017
4.0.5-rc 405 7/25/2017
4.0.3-rc 1,547 3/22/2017
4.0.2-rc 329 1/18/2017
4.0.1-rc 321 1/18/2017
4.0.0-rc1 329 1/18/2017
3.4.6 40,778 1/13/2017
3.4.3 7,521 8/26/2016
3.4.2 550 8/2/2016
3.4.1 478 7/22/2016
3.4.0 14,839 3/1/2016
3.3.14 6,846 12/16/2015
3.3.13 540 12/10/2015
3.3.12 5,884 12/8/2015
3.3.11 2,441 9/8/2015
3.3.10 1,147 8/14/2015
3.3.9 5,784 5/24/2015
3.3.8 955 4/15/2015
3.3.7 448 4/15/2015
3.3.6 1,278 3/19/2015
3.3.5 1,132 1/23/2015
3.3.4 452 1/22/2015
3.3.3 459 1/22/2015
3.3.2 442 1/19/2015
3.3.1 627 1/12/2015
3.3.0 564 1/10/2015
3.2.0 887 12/3/2014
3.1.1 733 10/29/2014
3.0.3 597 10/13/2014
3.0.2 1,132 9/8/2014
3.0.1.1 554 8/28/2014
3.0.0 617 8/21/2014
3.0.0-beta2 469 7/4/2014
3.0.0-beta 460 6/25/2014
2.1.0 2,395 6/15/2014
2.0.4 699 3/9/2014
2.0.3 7,599 4/16/2013
2.0.2 628 2/28/2013
2.0.1 625 2/3/2013
1.2.1 537 2/3/2013
1.1.1 605 12/29/2012
1.1.0 619 11/4/2012
1.0.6 681 8/12/2012
1.0.5 660 5/6/2012
1.0.3 1,084 5/29/2011
1.0.2 722 5/24/2011
1.0.1 807 5/1/2011
1.0.0 945 3/14/2011
Show less