Pester

4.8.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 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.8.1

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) 2019 by Pester Team, licensed under Apache 2.0 License.

Version History

Version Downloads Last updated
5.3.3 273,528 4/29/2022
5.3.2 26,318 4/22/2022
5.3.1 712,472 9/21/2021
5.3.0 372,529 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 457,373 5/27/2021
5.2.1 73,197 5/13/2021
5.2.0 37,916 5/6/2021
5.2.0-rc2 249 5/1/2021
5.2.0-rc1 310 4/25/2021
5.2.0-beta1 203 4/24/2021
5.2.0-alpha3 451 3/29/2021
5.2.0-alpha2 684 3/7/2021
5.2.0-alpha1 338 3/6/2021
5.1.1 578,436 12/11/2020
5.1.0 39,976 11/25/2020
5.1.0-rc2 4,602 11/19/2020
5.1.0-rc1 602 11/7/2020
5.1.0-beta4 305 11/1/2020
5.1.0-beta3 422 10/25/2020
5.1.0-beta2 565 10/7/2020
5.1.0-beta1 356 9/18/2020
5.0.5-beta1 470 9/4/2020
5.0.4 114,820 9/3/2020
5.0.4-beta1 413 8/13/2020
5.0.3 97,000 8/8/2020
5.0.2 186,875 6/2/2020
5.0.1 105,255 5/28/2020
5.0.0 33,147 5/27/2020
5.0.0-rc9 872 5/16/2020
5.0.0-rc8 546 5/14/2020
5.0.0-rc7 320 5/12/2020
5.0.0-rc6 2,295 5/4/2020
5.0.0-rc5 1,250 4/24/2020
5.0.0-rc4 360 4/20/2020
5.0.0-rc3 568 4/14/2020
5.0.0-rc1 754 4/4/2020
5.0.0-beta 848 2/8/2020
5.0.0-alpha4 1,061 5/26/2019
5.0.0-alpha3 1,076 3/23/2019
4.10.2-beta1 208 5/29/2021
4.10.1 3,346,313 2/7/2020
4.10.0 227,620 2/1/2020
4.9.0 813,286 9/8/2019
4.8.1 (current version) 479,787 5/11/2019
4.8.0 54,631 5/1/2019
4.7.3 110,465 3/23/2019
4.7.2 53,266 3/8/2019
4.7.1 18,609 3/5/2019
4.7.0 30,679 3/3/2019
4.7.0-beta1 273 2/23/2019
4.6.0 211,659 1/21/2019
4.5.0 66,034 1/10/2019
4.5.0-beta2 274 1/5/2019
4.5.0-beta1 354 12/20/2018
4.4.4 26,222 1/3/2019
4.4.3 43,381 12/11/2018
4.4.2 153,229 10/3/2018
4.4.1 23,548 9/26/2018
4.4.0 107,382 7/20/2018
4.4.0-beta2 2,368 7/8/2018
4.4.0-beta 2,326 5/6/2018
4.3.1 302,021 2/20/2018
4.2.0 26,302 2/18/2018
4.2.0-alpha3 2,007 12/17/2017
4.2.0-alpha2 1,980 12/12/2017
4.2.0-alpha1 11,352 12/12/2017
4.1.1 152,129 12/9/2017
4.1.0 94,423 11/15/2017
4.0.8 83,546 9/15/2017
4.0.7 7,403 9/13/2017
4.0.6 80,157 8/17/2017
4.0.5 75,745 7/25/2017
4.0.4 20,499 7/14/2017
4.0.3 171,744 3/22/2017
4.0.2 14,632 1/18/2017
3.4.6 11,784 1/13/2017
3.4.5 793 1/12/2017
3.4.3 32,247 8/26/2016
3.4.2 4,066 8/2/2016
3.4.1 1,494 7/22/2016
3.4.0 26,743 3/1/2016
3.3.14 1,064 12/16/2015
3.3.13 190 12/10/2015
3.3.12 142 12/8/2015
3.3.11 598 9/8/2015
3.3.10 303 8/14/2015
3.3.9 3,503 5/24/2015
3.3.8 248 4/15/2015
3.3.7 124 4/15/2015
3.3.6 176 3/19/2015
3.3.5 716 1/23/2015
3.3.4 135 1/22/2015
3.2.0 494 12/3/2014
3.1.1 172 10/30/2014
3.0.3 189 10/11/2014
Show less