Pester 3.1.1

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

Release Notes

 - Fix mocking of Get-ItemProperty
 - Fix mocking commands with parameters named $FunctionName, $ModuleName or $ArgumentList under some circumstances. [GH-215]
 - Add Skipped and Pending test results
 - Added support for parameterized tests to the It command.
 - Deprecated -OutputXml parameter, added -OutputFile and -OutputFormat parameters.
 - Added new updated NUnit export format.  Original format still available as -OutputFormat LegacyNUnitXml.
 - Stopped forcing -ParameterFilter blocks to return explicit booleans, preventing some unnecessary null reference exceptions.
 - Fix Skipped and Pending
 - Fix output format on non-US systems

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.4.1 3,622 9/20/2018
4.4.0 3,769 7/20/2018
4.4.0-beta2 129 7/8/2018
4.4.0-beta 193 5/6/2018
4.3.1 6,414 2/20/2018
4.2.0 199 2/18/2018
4.2.0-alpha3 225 12/17/2017
4.2.0-alpha2 157 12/12/2017
4.1.1 1,940 12/9/2017
4.1.0 234 11/21/2017
4.0.8 15,069 9/15/2017
4.0.7 173 9/13/2017
4.0.6-rc 168 8/17/2017
4.0.5-rc 217 7/25/2017
4.0.3-rc 1,194 3/22/2017
4.0.2-rc 210 1/18/2017
4.0.1-rc 205 1/18/2017
4.0.0-rc1 203 1/18/2017
3.4.6 16,807 1/13/2017
3.4.3 5,756 8/26/2016
3.4.2 419 8/2/2016
3.4.1 336 7/22/2016
3.4.0 9,346 3/1/2016
3.3.14 6,682 12/16/2015
3.3.13 398 12/10/2015
3.3.12 1,791 12/8/2015
3.3.11 2,091 9/8/2015
3.3.10 984 8/14/2015
3.3.9 4,036 5/24/2015
3.3.8 812 4/15/2015
3.3.7 299 4/15/2015
3.3.6 1,132 3/19/2015
3.3.5 981 1/23/2015
3.3.4 307 1/22/2015
3.3.3 325 1/22/2015
3.3.2 309 1/19/2015
3.3.1 482 1/12/2015
3.3.0 415 1/10/2015
3.2.0 727 12/3/2014
3.1.1 566 10/29/2014
3.0.3 422 10/13/2014
3.0.2 938 9/8/2014
3.0.1.1 377 8/28/2014
3.0.0 450 8/21/2014
3.0.0-beta2 325 7/4/2014
3.0.0-beta 313 6/25/2014
2.1.0 2,150 6/15/2014
2.0.4 547 3/9/2014
2.0.3 6,724 4/16/2013
2.0.2 472 2/28/2013
2.0.1 459 2/3/2013
1.2.1 382 2/3/2013
1.1.1 447 12/29/2012
1.1.0 451 11/4/2012
1.0.6 519 8/12/2012
1.0.5 506 5/6/2012
1.0.3 890 5/29/2011
1.0.2 528 5/24/2011
1.0.1 622 5/1/2011
1.0.0 736 3/14/2011
Show less