Pester 3.0.2

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 3.0.2
dotnet add package Pester --version 3.0.2
paket add Pester --version 3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

 - Coverage Analysis now ignores closing conditions of do/while and do/until loops, which were giving false failures.  [GH-200]
 - Calls to Functions and Cmdlets with dynamic parameters can now be mocked. [GH-203]
 - Mock now avoids assigning strings to items in the Function provider, bypassing a PowerShell 3.0 bug.
 - Bug fix when mocking executables or functions with no param block. [GH-209]
 - Replace the nuget.exe with version 2.8.2 and set the Team City server to use the same version.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.7.2 396 3/8/2019
4.7.1 131 3/5/2019
4.7.0 80 3/3/2019
4.4.1 5,183 9/20/2018
4.4.0 3,782 7/20/2018
4.4.0-beta2 143 7/8/2018
4.4.0-beta 206 5/6/2018
4.3.1 7,445 2/20/2018
4.2.0 214 2/18/2018
4.2.0-alpha3 245 12/17/2017
4.2.0-alpha2 170 12/12/2017
4.1.1 1,982 12/9/2017
4.1.0 248 11/21/2017
4.0.8 15,741 9/15/2017
4.0.7 188 9/13/2017
4.0.6-rc 185 8/17/2017
4.0.5-rc 235 7/25/2017
4.0.3-rc 1,220 3/22/2017
4.0.2-rc 228 1/18/2017
4.0.1-rc 223 1/18/2017
4.0.0-rc1 221 1/18/2017
3.4.6 17,547 1/13/2017
3.4.3 5,987 8/26/2016
3.4.2 436 8/2/2016
3.4.1 353 7/22/2016
3.4.0 9,820 3/1/2016
3.3.14 6,700 12/16/2015
3.3.13 415 12/10/2015
3.3.12 2,211 12/8/2015
3.3.11 2,165 9/8/2015
3.3.10 1,003 8/14/2015
3.3.9 4,220 5/24/2015
3.3.8 830 4/15/2015
3.3.7 319 4/15/2015
3.3.6 1,150 3/19/2015
3.3.5 1,000 1/23/2015
3.3.4 326 1/22/2015
3.3.3 344 1/22/2015
3.3.2 324 1/19/2015
3.3.1 501 1/12/2015
3.3.0 434 1/10/2015
3.2.0 747 12/3/2014
3.1.1 593 10/29/2014
3.0.3 449 10/13/2014
3.0.2 965 9/8/2014
3.0.1.1 403 8/28/2014
3.0.0 475 8/21/2014
3.0.0-beta2 351 7/4/2014
3.0.0-beta 338 6/25/2014
2.1.0 2,181 6/15/2014
2.0.4 566 3/9/2014
2.0.3 6,799 4/16/2013
2.0.2 490 2/28/2013
2.0.1 476 2/3/2013
1.2.1 400 2/3/2013
1.1.1 465 12/29/2012
1.1.0 469 11/4/2012
1.0.6 537 8/12/2012
1.0.5 524 5/6/2012
1.0.3 912 5/29/2011
1.0.2 550 5/24/2011
1.0.1 644 5/1/2011
1.0.0 760 3/14/2011
Show less