Pester

5.3.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

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

Version History

Version Downloads Last updated
5.4.0-rc1 902 11/6/2022
5.3.3 1,341,388 4/29/2022
5.3.2 31,144 4/22/2022
5.3.1 881,741 9/21/2021
5.3.0 (current version) 496,214 8/17/2021
5.3.0-rc1 363 8/3/2021
5.3.0-beta1 140 7/23/2021
5.3.0-alpha5 317 6/24/2021
5.3.0-alpha4 409 6/2/2021
5.3.0-alpha2 58 5/31/2021
5.3.0-alpha1 438 5/13/2021
5.2.2 474,163 5/27/2021
5.2.1 80,762 5/13/2021
5.2.0 39,567 5/6/2021
5.2.0-rc2 705 5/1/2021
5.2.0-rc1 765 4/25/2021
5.2.0-beta1 654 4/24/2021
5.2.0-alpha3 914 3/29/2021
5.2.0-alpha2 1,142 3/7/2021
5.2.0-alpha1 800 3/6/2021
5.1.1 672,888 12/11/2020
5.1.0 41,597 11/25/2020
5.1.0-rc2 5,068 11/19/2020
5.1.0-rc1 1,061 11/7/2020
5.1.0-beta4 766 11/1/2020
5.1.0-beta3 887 10/25/2020
5.1.0-beta2 1,026 10/7/2020
5.1.0-beta1 815 9/18/2020
5.0.5-beta1 935 9/4/2020
5.0.4 120,775 9/3/2020
5.0.4-beta1 538 8/13/2020
5.0.3 111,502 8/8/2020
5.0.2 209,943 6/2/2020
5.0.1 119,978 5/28/2020
5.0.0 34,289 5/27/2020
5.0.0-rc9 1,331 5/16/2020
5.0.0-rc8 1,008 5/14/2020
5.0.0-rc7 785 5/12/2020
5.0.0-rc6 2,766 5/4/2020
5.0.0-rc5 1,714 4/24/2020
5.0.0-rc4 825 4/20/2020
5.0.0-rc3 1,039 4/14/2020
5.0.0-rc1 1,226 4/4/2020
5.0.0-beta 1,316 2/8/2020
5.0.0-alpha4 1,527 5/26/2019
5.0.0-alpha3 1,538 3/23/2019
4.10.2-beta1 362 5/29/2021
4.10.1 4,014,057 2/7/2020
4.10.0 269,485 2/1/2020
4.9.0 874,516 9/8/2019
4.8.1 489,322 5/11/2019
4.8.0 55,010 5/1/2019
4.7.3 111,005 3/23/2019
4.7.2 54,712 3/8/2019
4.7.1 18,894 3/5/2019
4.7.0 30,984 3/3/2019
4.7.0-beta1 740 2/23/2019
4.6.0 226,618 1/21/2019
4.5.0 74,284 1/10/2019
4.5.0-beta2 747 1/5/2019
4.5.0-beta1 827 12/20/2018
4.4.4 26,771 1/3/2019
4.4.3 44,274 12/11/2018
4.4.2 156,001 10/3/2018
4.4.1 23,704 9/26/2018
4.4.0 107,782 7/20/2018
4.4.0-beta2 23,125 7/8/2018
4.4.0-beta 23,080 5/6/2018
4.3.1 309,368 2/20/2018
4.2.0 26,459 2/18/2018
4.2.0-alpha3 22,766 12/17/2017
4.2.0-alpha2 22,738 12/12/2017
4.2.0-alpha1 47,739 12/12/2017
4.1.1 152,577 12/9/2017
4.1.0 94,764 11/15/2017
4.0.8 84,229 9/15/2017
4.0.7 7,557 9/13/2017
4.0.6 80,756 8/17/2017
4.0.5 77,600 7/25/2017
4.0.4 21,002 7/14/2017
4.0.3 172,566 3/22/2017
4.0.2 15,139 1/18/2017
3.4.6 13,838 1/13/2017
3.4.5 954 1/12/2017
3.4.3 32,405 8/26/2016
3.4.2 4,226 8/2/2016
3.4.1 1,648 7/22/2016
3.4.0 28,339 3/1/2016
3.3.14 1,228 12/16/2015
3.3.13 347 12/10/2015
3.3.12 302 12/8/2015
3.3.11 746 9/8/2015
3.3.10 459 8/14/2015
3.3.9 4,300 5/24/2015
3.3.8 401 4/15/2015
3.3.7 280 4/15/2015
3.3.6 325 3/19/2015
3.3.5 870 1/23/2015
3.3.4 294 1/22/2015
3.2.0 642 12/3/2014
3.1.1 332 10/30/2014
3.0.3 353 10/11/2014