Pester

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

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

Version History

Version Downloads Last updated
5.4.0-rc1 663 11/6/2022
5.3.3 1,284,874 4/29/2022
5.3.2 31,021 4/22/2022
5.3.1 (current version) 872,170 9/21/2021
5.3.0 487,445 8/17/2021
5.3.0-rc1 355 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 472,637 5/27/2021
5.2.1 80,518 5/13/2021
5.2.0 39,454 5/6/2021
5.2.0-rc2 674 5/1/2021
5.2.0-rc1 734 4/25/2021
5.2.0-beta1 624 4/24/2021
5.2.0-alpha3 881 3/29/2021
5.2.0-alpha2 1,111 3/7/2021
5.2.0-alpha1 770 3/6/2021
5.1.1 667,354 12/11/2020
5.1.0 41,544 11/25/2020
5.1.0-rc2 5,035 11/19/2020
5.1.0-rc1 1,028 11/7/2020
5.1.0-beta4 732 11/1/2020
5.1.0-beta3 856 10/25/2020
5.1.0-beta2 993 10/7/2020
5.1.0-beta1 783 9/18/2020
5.0.5-beta1 903 9/4/2020
5.0.4 120,448 9/3/2020
5.0.4-beta1 531 8/13/2020
5.0.3 111,406 8/8/2020
5.0.2 208,719 6/2/2020
5.0.1 119,722 5/28/2020
5.0.0 34,184 5/27/2020
5.0.0-rc9 1,299 5/16/2020
5.0.0-rc8 977 5/14/2020
5.0.0-rc7 753 5/12/2020
5.0.0-rc6 2,732 5/4/2020
5.0.0-rc5 1,681 4/24/2020
5.0.0-rc4 791 4/20/2020
5.0.0-rc3 1,006 4/14/2020
5.0.0-rc1 1,195 4/4/2020
5.0.0-beta 1,283 2/8/2020
5.0.0-alpha4 1,493 5/26/2019
5.0.0-alpha3 1,506 3/23/2019
4.10.2-beta1 354 5/29/2021
4.10.1 3,980,269 2/7/2020
4.10.0 266,719 2/1/2020
4.9.0 872,535 9/8/2019
4.8.1 488,990 5/11/2019
4.8.0 54,988 5/1/2019
4.7.3 110,941 3/23/2019
4.7.2 54,694 3/8/2019
4.7.1 18,883 3/5/2019
4.7.0 30,974 3/3/2019
4.7.0-beta1 707 2/23/2019
4.6.0 225,643 1/21/2019
4.5.0 73,745 1/10/2019
4.5.0-beta2 715 1/5/2019
4.5.0-beta1 794 12/20/2018
4.4.4 26,731 1/3/2019
4.4.3 44,233 12/11/2018
4.4.2 155,941 10/3/2018
4.4.1 23,696 9/26/2018
4.4.0 107,751 7/20/2018
4.4.0-beta2 22,613 7/8/2018
4.4.0-beta 22,569 5/6/2018
4.3.1 309,003 2/20/2018
4.2.0 26,450 2/18/2018
4.2.0-alpha3 22,255 12/17/2017
4.2.0-alpha2 22,227 12/12/2017
4.2.0-alpha1 46,622 12/12/2017
4.1.1 152,550 12/9/2017
4.1.0 94,749 11/15/2017
4.0.8 84,175 9/15/2017
4.0.7 7,549 9/13/2017
4.0.6 80,718 8/17/2017
4.0.5 77,469 7/25/2017
4.0.4 20,966 7/14/2017
4.0.3 172,508 3/22/2017
4.0.2 15,105 1/18/2017
3.4.6 13,649 1/13/2017
3.4.5 946 1/12/2017
3.4.3 32,399 8/26/2016
3.4.2 4,217 8/2/2016
3.4.1 1,640 7/22/2016
3.4.0 28,212 3/1/2016
3.3.14 1,219 12/16/2015
3.3.13 338 12/10/2015
3.3.12 293 12/8/2015
3.3.11 739 9/8/2015
3.3.10 450 8/14/2015
3.3.9 4,201 5/24/2015
3.3.8 392 4/15/2015
3.3.7 272 4/15/2015
3.3.6 319 3/19/2015
3.3.5 862 1/23/2015
3.3.4 286 1/22/2015
3.2.0 636 12/3/2014
3.1.1 324 10/30/2014
3.0.3 344 10/11/2014