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
<PackageReference Include="Pester" Version="3.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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.8.1 879 5/11/2019
4.8.0 603 5/1/2019
4.7.3 1,670 3/23/2019
4.7.2 709 3/8/2019
4.7.1 164 3/5/2019
4.7.0 111 3/3/2019
4.4.1 11,073 9/20/2018
4.4.0 3,801 7/20/2018
4.4.0-beta2 156 7/8/2018
4.4.0-beta 219 5/6/2018
4.3.1 10,301 2/20/2018
4.2.0 233 2/18/2018
4.2.0-alpha3 266 12/17/2017
4.2.0-alpha2 186 12/12/2017
4.1.1 2,065 12/9/2017
4.1.0 268 11/21/2017
4.0.8 17,108 9/15/2017
4.0.7 207 9/13/2017
4.0.6-rc 202 8/17/2017
4.0.5-rc 253 7/25/2017
4.0.3-rc 1,257 3/22/2017
4.0.2-rc 239 1/18/2017
4.0.1-rc 234 1/18/2017
4.0.0-rc1 232 1/18/2017
3.4.6 18,868 1/13/2017
3.4.3 6,382 8/26/2016
3.4.2 453 8/2/2016
3.4.1 372 7/22/2016
3.4.0 10,819 3/1/2016
3.3.14 6,718 12/16/2015
3.3.13 432 12/10/2015
3.3.12 3,035 12/8/2015
3.3.11 2,190 9/8/2015
3.3.10 1,019 8/14/2015
3.3.9 4,779 5/24/2015
3.3.8 847 4/15/2015
3.3.7 334 4/15/2015
3.3.6 1,168 3/19/2015
3.3.5 1,017 1/23/2015
3.3.4 341 1/22/2015
3.3.3 358 1/22/2015
3.3.2 341 1/19/2015
3.3.1 520 1/12/2015
3.3.0 449 1/10/2015
3.2.0 764 12/3/2014
3.1.1 611 10/29/2014
3.0.3 467 10/13/2014
3.0.2 990 9/8/2014
3.0.1.1 420 8/28/2014
3.0.0 493 8/21/2014
3.0.0-beta2 364 7/4/2014
3.0.0-beta 353 6/25/2014
2.1.0 2,207 6/15/2014
2.0.4 583 3/9/2014
2.0.3 6,980 4/16/2013
2.0.2 507 2/28/2013
2.0.1 494 2/3/2013
1.2.1 417 2/3/2013
1.1.1 482 12/29/2012
1.1.0 486 11/4/2012
1.0.6 555 8/12/2012
1.0.5 542 5/6/2012
1.0.3 933 5/29/2011
1.0.2 577 5/24/2011
1.0.1 668 5/1/2011
1.0.0 792 3/14/2011
Show less