Pester 2.1.0

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

Release Notes

New features:
 - Mock internal module functions.
 - Mock aliases, exe and filters.
 - Compatible with PowerShell Strict mode.

Fixes and tweaks:
 - Process It blocks in memory
 - Fixed -ExecutionPolicy in pester.bat
 - Fix TestDrive clean up
 - Fix ShouldArgs in Strict-Mode
 - Fix initialize $PesterException
 - Validate Should Assertion methods
 - Fix using commands without fully qualified names

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.4.1 2,410 9/20/2018
4.4.0 3,346 7/20/2018
4.4.0-beta2 118 7/8/2018
4.4.0-beta 160 5/6/2018
4.3.1 5,763 2/20/2018
4.2.0 182 2/18/2018
4.2.0-alpha3 173 12/17/2017
4.2.0-alpha2 147 12/12/2017
4.1.1 1,876 12/9/2017
4.1.0 213 11/21/2017
4.0.8 14,343 9/15/2017
4.0.7 156 9/13/2017
4.0.6-rc 154 8/17/2017
4.0.5-rc 205 7/25/2017
4.0.3-rc 1,166 3/22/2017
4.0.2-rc 200 1/18/2017
4.0.1-rc 195 1/18/2017
4.0.0-rc1 189 1/18/2017
3.4.6 16,385 1/13/2017
3.4.3 5,529 8/26/2016
3.4.2 400 8/2/2016
3.4.1 311 7/22/2016
3.4.0 8,911 3/1/2016
3.3.14 6,657 12/16/2015
3.3.13 373 12/10/2015
3.3.12 1,241 12/8/2015
3.3.11 2,056 9/8/2015
3.3.10 963 8/14/2015
3.3.9 3,943 5/24/2015
3.3.8 789 4/15/2015
3.3.7 272 4/15/2015
3.3.6 1,074 3/19/2015
3.3.5 897 1/23/2015
3.3.4 279 1/22/2015
3.3.3 277 1/22/2015
3.3.2 284 1/19/2015
3.3.1 460 1/12/2015
3.3.0 334 1/10/2015
3.2.0 697 12/3/2014
3.1.1 532 10/29/2014
3.0.3 370 10/13/2014
3.0.2 873 9/8/2014
3.0.1.1 338 8/28/2014
3.0.0 373 8/21/2014
3.0.0-beta2 307 7/4/2014
3.0.0-beta 291 6/25/2014
2.1.0 2,106 6/15/2014
2.0.4 516 3/9/2014
2.0.3 6,651 4/16/2013
2.0.2 371 2/28/2013
2.0.1 437 2/3/2013
1.2.1 347 2/3/2013
1.1.1 402 12/29/2012
1.1.0 417 11/4/2012
1.0.6 471 8/12/2012
1.0.5 480 5/6/2012
1.0.3 868 5/29/2011
1.0.2 500 5/24/2011
1.0.1 596 5/1/2011
1.0.0 641 3/14/2011
Show less