Pester

4.2.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.
Show more

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

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Pester -Version 4.2.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

Owners

Copyright

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

Package Details

FileList

Version History

Version Downloads Last updated
6.0.0-alpha5 21,786 10/30/2024
6.0.0-alpha4 1,797 7/5/2024
6.0.0-alpha3 107 6/26/2024
6.0.0-alpha2 37 6/26/2024
6.0.0-alpha1 10,938 6/5/2024
5.7.1 9,082,858 1/8/2025
5.7.0 27,696 1/8/2025
5.6.1 2,753,745 7/1/2024
5.6.0 319,530 6/5/2024
5.6.0-rc1 360 5/17/2024
5.6.0-beta1 760 4/25/2024
5.5.0 3,050,694 6/27/2023
5.5.0-rc1 885 6/16/2023
5.4.1 631,414 4/5/2023
5.4.0 662,218 1/10/2023
5.4.0-rc1 1,507 11/6/2022
5.3.3 1,746,891 4/29/2022
5.3.2 35,142 4/22/2022
5.3.1 1,435,614 9/21/2021
5.3.0 1,234,961 8/17/2021
5.3.0-rc1 503 8/3/2021
5.3.0-beta1 151 7/23/2021
5.3.0-alpha5 327 6/24/2021
5.3.0-alpha4 419 6/2/2021
5.3.0-alpha2 68 5/31/2021
5.3.0-alpha1 464 5/13/2021
5.2.2 627,982 5/27/2021
5.2.1 111,966 5/13/2021
5.2.0 63,827 5/6/2021
5.2.0-rc2 721 5/1/2021
5.2.0-rc1 774 4/25/2021
5.2.0-beta1 662 4/24/2021
5.2.0-alpha3 933 3/29/2021
5.2.0-alpha2 1,160 3/7/2021
5.2.0-alpha1 824 3/6/2021
5.1.1 1,161,057 12/11/2020
5.1.0 50,915 11/25/2020
5.1.0-rc2 5,078 11/19/2020
5.1.0-rc1 1,069 11/7/2020
5.1.0-beta4 776 11/1/2020
5.1.0-beta3 895 10/25/2020
5.1.0-beta2 1,036 10/7/2020
5.1.0-beta1 825 9/18/2020
5.0.5-beta1 945 9/4/2020
5.0.4 155,288 9/3/2020
5.0.4-beta1 556 8/13/2020
5.0.3 118,385 8/8/2020
5.0.2 260,747 6/2/2020
5.0.1 154,891 5/28/2020
5.0.0 41,942 5/27/2020
5.0.0-rc9 1,344 5/16/2020
5.0.0-rc8 1,017 5/14/2020
5.0.0-rc7 795 5/12/2020
5.0.0-rc6 2,776 5/4/2020
5.0.0-rc5 1,722 4/24/2020
5.0.0-rc4 836 4/20/2020
5.0.0-rc3 1,052 4/14/2020
5.0.0-rc1 1,238 4/4/2020
5.0.0-beta 1,327 2/8/2020
5.0.0-alpha4 1,535 5/26/2019
5.0.0-alpha3 1,552 3/23/2019
4.10.2-beta1 664 5/29/2021
4.10.1 9,120,503 2/7/2020
4.10.0 569,989 2/1/2020
4.9.0 1,065,491 9/8/2019
4.8.1 511,844 5/11/2019
4.8.0 59,780 5/1/2019
4.7.3 115,616 3/23/2019
4.7.2 57,790 3/8/2019
4.7.1 20,529 3/5/2019
4.7.0 32,732 3/3/2019
4.7.0-beta1 750 2/23/2019
4.6.0 298,207 1/21/2019
4.5.0 96,236 1/10/2019
4.5.0-beta2 758 1/5/2019
4.5.0-beta1 836 12/20/2018
4.4.4 27,206 1/3/2019
4.4.3 46,456 12/11/2018
4.4.2 163,138 10/3/2018
4.4.1 23,944 9/26/2018
4.4.0 109,060 7/20/2018
4.4.0-beta2 23,137 7/8/2018
4.4.0-beta 23,092 5/6/2018
4.3.1 361,426 2/20/2018
4.2.0 (current version) 26,797 2/18/2018
4.2.0-alpha3 22,779 12/17/2017
4.2.0-alpha2 22,752 12/12/2017
4.2.0-alpha1 47,752 12/12/2017
4.1.1 154,834 12/9/2017
4.1.0 95,910 11/15/2017
4.0.8 89,256 9/15/2017
4.0.7 7,580 9/13/2017
4.0.6 83,903 8/17/2017
4.0.5 81,810 7/25/2017
4.0.4 21,053 7/14/2017
4.0.3 177,389 3/22/2017
4.0.2 15,302 1/18/2017
3.4.6 21,438 1/13/2017
3.4.5 1,002 1/12/2017
3.4.3 32,527 8/26/2016
3.4.2 4,289 8/2/2016
3.4.1 1,696 7/22/2016
3.4.0 60,455 3/1/2016
3.3.14 1,271 12/16/2015
3.3.13 392 12/10/2015
3.3.12 325 12/8/2015
3.3.11 775 9/8/2015
3.3.10 492 8/14/2015
3.3.9 6,363 5/24/2015
3.3.8 427 4/15/2015
3.3.7 307 4/15/2015
3.3.6 356 3/19/2015
3.3.5 906 1/23/2015
3.3.4 324 1/22/2015
3.2.0 710 12/3/2014
3.1.1 366 10/30/2014
3.0.3 753 10/11/2014
Show less