Pester

4.5.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 accessible to a pester test
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 accessible 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.

Minimum PowerShell version

2.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Pester -RequiredVersion 4.5.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Pester Team

Copyright

Copyright (c) 2017 by Pester Team, licensed under Apache 2.0 License.

Version History

Version Downloads Last updated
5.3.3 550,514 4/29/2022
5.3.2 26,705 4/22/2022
5.3.1 756,579 9/21/2021
5.3.0 400,452 8/17/2021
5.3.0-rc1 242 8/3/2021
5.3.0-beta1 103 7/23/2021
5.3.0-alpha5 281 6/24/2021
5.3.0-alpha4 373 6/2/2021
5.3.0-alpha2 22 5/31/2021
5.3.0-alpha1 401 5/13/2021
5.2.2 461,872 5/27/2021
5.2.1 74,317 5/13/2021
5.2.0 38,452 5/6/2021
5.2.0-rc2 359 5/1/2021
5.2.0-rc1 418 4/25/2021
5.2.0-beta1 311 4/24/2021
5.2.0-alpha3 561 3/29/2021
5.2.0-alpha2 794 3/7/2021
5.2.0-alpha1 447 3/6/2021
5.1.1 609,815 12/11/2020
5.1.0 40,463 11/25/2020
5.1.0-rc2 4,712 11/19/2020
5.1.0-rc1 711 11/7/2020
5.1.0-beta4 415 11/1/2020
5.1.0-beta3 532 10/25/2020
5.1.0-beta2 676 10/7/2020
5.1.0-beta1 464 9/18/2020
5.0.5-beta1 581 9/4/2020
5.0.4 116,430 9/3/2020
5.0.4-beta1 442 8/13/2020
5.0.3 102,518 8/8/2020
5.0.2 193,160 6/2/2020
5.0.1 109,221 5/28/2020
5.0.0 33,434 5/27/2020
5.0.0-rc9 982 5/16/2020
5.0.0-rc8 654 5/14/2020
5.0.0-rc7 431 5/12/2020
5.0.0-rc6 2,406 5/4/2020
5.0.0-rc5 1,361 4/24/2020
5.0.0-rc4 468 4/20/2020
5.0.0-rc3 677 4/14/2020
5.0.0-rc1 864 4/4/2020
5.0.0-beta 958 2/8/2020
5.0.0-alpha4 1,171 5/26/2019
5.0.0-alpha3 1,184 3/23/2019
4.10.2-beta1 245 5/29/2021
4.10.1 3,530,733 2/7/2020
4.10.0 238,109 2/1/2020
4.9.0 832,008 9/8/2019
4.8.1 482,665 5/11/2019
4.8.0 54,722 5/1/2019
4.7.3 110,591 3/23/2019
4.7.2 53,639 3/8/2019
4.7.1 18,661 3/5/2019
4.7.0 30,752 3/3/2019
4.7.0-beta1 382 2/23/2019
4.6.0 215,969 1/21/2019
4.5.0 (current version) 67,599 1/10/2019
4.5.0-beta2 386 1/5/2019
4.5.0-beta1 465 12/20/2018
4.4.4 26,336 1/3/2019
4.4.3 43,668 12/11/2018
4.4.2 153,836 10/3/2018
4.4.1 23,587 9/26/2018
4.4.0 107,468 7/20/2018
4.4.0-beta2 6,644 7/8/2018
4.4.0-beta 6,600 5/6/2018
4.3.1 304,215 2/20/2018
4.2.0 26,345 2/18/2018
4.2.0-alpha3 6,283 12/17/2017
4.2.0-alpha2 6,254 12/12/2017
4.2.0-alpha1 20,542 12/12/2017
4.1.1 152,269 12/9/2017
4.1.0 94,502 11/15/2017
4.0.8 83,608 9/15/2017
4.0.7 7,442 9/13/2017
4.0.6 80,285 8/17/2017
4.0.5 76,176 7/25/2017
4.0.4 20,617 7/14/2017
4.0.3 171,928 3/22/2017
4.0.2 14,751 1/18/2017
3.4.6 12,534 1/13/2017
3.4.5 834 1/12/2017
3.4.3 32,285 8/26/2016
3.4.2 4,108 8/2/2016
3.4.1 1,533 7/22/2016
3.4.0 27,262 3/1/2016
3.3.14 1,108 12/16/2015
3.3.13 233 12/10/2015
3.3.12 183 12/8/2015
3.3.11 640 9/8/2015
3.3.10 344 8/14/2015
3.3.9 3,860 5/24/2015
3.3.8 285 4/15/2015
3.3.7 165 4/15/2015
3.3.6 214 3/19/2015
3.3.5 756 1/23/2015
3.3.4 175 1/22/2015
3.2.0 535 12/3/2014
3.1.1 215 10/30/2014
3.0.3 229 10/11/2014
Show less