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 1,426 9/20/2018
4.4.0 1,878 7/20/2018
4.4.0-beta2 93 7/8/2018
4.4.0-beta 135 5/6/2018
4.3.1 4,775 2/20/2018
4.2.0 152 2/18/2018
4.2.0-alpha3 135 12/17/2017
4.2.0-alpha2 122 12/12/2017
4.1.1 1,786 12/9/2017
4.1.0 182 11/21/2017
4.0.8 13,077 9/15/2017
4.0.7 131 9/13/2017
4.0.6-rc 131 8/17/2017
4.0.5-rc 181 7/25/2017
4.0.3-rc 1,145 3/22/2017
4.0.2-rc 176 1/18/2017
4.0.1-rc 164 1/18/2017
4.0.0-rc1 165 1/18/2017
3.4.6 15,450 1/13/2017
3.4.3 5,192 8/26/2016
3.4.2 371 8/2/2016
3.4.1 284 7/22/2016
3.4.0 7,714 3/1/2016
3.3.14 6,624 12/16/2015
3.3.13 346 12/10/2015
3.3.12 506 12/8/2015
3.3.11 2,025 9/8/2015
3.3.10 933 8/14/2015
3.3.9 3,667 5/24/2015
3.3.8 759 4/15/2015
3.3.7 240 4/15/2015
3.3.6 1,045 3/19/2015
3.3.5 865 1/23/2015
3.3.4 249 1/22/2015
3.3.3 247 1/22/2015
3.3.2 252 1/19/2015
3.3.1 425 1/12/2015
3.3.0 302 1/10/2015
3.2.0 654 12/3/2014
3.1.1 498 10/29/2014
3.0.3 336 10/13/2014
3.0.2 825 9/8/2014
3.0.1.1 304 8/28/2014
3.0.0 339 8/21/2014
3.0.0-beta2 277 7/4/2014
3.0.0-beta 261 6/25/2014
2.1.0 2,031 6/15/2014
2.0.4 483 3/9/2014
2.0.3 6,493 4/16/2013
2.0.2 337 2/28/2013
2.0.1 401 2/3/2013
1.2.1 310 2/3/2013
1.1.1 367 12/29/2012
1.1.0 380 11/4/2012
1.0.6 437 8/12/2012
1.0.5 440 5/6/2012
1.0.3 825 5/29/2011
1.0.2 453 5/24/2011
1.0.1 547 5/1/2011
1.0.0 592 3/14/2011
Show less