Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
181,311
Downloads of v 3.0.0-beta:
420
Last Update:
25 Jun 2014
Package Maintainer(s):
Software Author(s):
- Pester Team
Tags:
powershell unit testing bdd tdd mocking- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Pester
This is a prerelease version of Pester.
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
181,311
Downloads of v 3.0.0-beta:
420
Software Author(s):
- Pester Team
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
All Checks are Unknown
2 Test of Unknown Status
Validation Testing Unknown
Verification Testing Unknown
To install Pester, run the following command from the command line or from PowerShell:
To upgrade Pester, run the following command from the command line or from PowerShell:
To uninstall Pester, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download pester --internalize --version=3.0.0-beta --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade pester -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade pester -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure pester installed
win_chocolatey:
name: pester
state: present
version: 3.0.0-beta
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'pester' do
action :install
version '3.0.0-beta'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: pester,
Version: 3.0.0-beta,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller pester
{
Name = 'pester'
Ensure = 'Present'
Version = '3.0.0-beta'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'pester':
provider => 'chocolatey',
ensure => '3.0.0-beta',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install pester version="3.0.0-beta" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
There are versions of this package awaiting moderation . See the Version History section below.
This package was approved as a trusted package on 20 Jan 2015.
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 accesible 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.
Log in or click on link to see number of positives.
- pester.3.0.0-beta.nupkg (ef739e5291e8) - ## / 57
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Pester 5.1.1 | 31 | Friday, December 11, 2020 | Waiting for Maintainer |
Pester 5.1.0 | 19 | Wednesday, November 25, 2020 | Waiting for Maintainer |
Pester 5.0.4 | 45 | Thursday, September 3, 2020 | Waiting for Maintainer |
Pester 5.0.4-beta1 | 136 | Thursday, August 13, 2020 | Exempted |
Pester 4.10.1 | 16135 | Friday, February 7, 2020 | Approved |
Pester 4.9.0 | 9541 | Sunday, September 8, 2019 | Approved |
Pester 4.8.1 | 8143 | Saturday, May 11, 2019 | Approved |
Pester 4.8.0 | 960 | Wednesday, May 1, 2019 | Approved |
Pester 4.7.3 | 3350 | Saturday, March 23, 2019 | Approved |
Pester 4.7.2 | 1253 | Friday, March 8, 2019 | Approved |
Pester 4.7.1 | 498 | Tuesday, March 5, 2019 | Approved |
Pester 4.7.0 | 337 | Sunday, March 3, 2019 | Approved |
Pester 4.4.1 | 8855 | Thursday, September 20, 2018 | Approved |
Pester 4.4.0 | 4910 | Friday, July 20, 2018 | Approved |
Pester 4.4.0-beta2 | 193 | Sunday, July 8, 2018 | Approved |
Pester 4.4.0-beta | 279 | Sunday, May 6, 2018 | Approved |
Pester 4.3.1 | 7453 | Tuesday, February 20, 2018 | Approved |
Pester 4.3.0 | 244 | Tuesday, February 20, 2018 | Approved |
Pester 4.2.0 | 380 | Sunday, February 18, 2018 | Approved |
Pester 4.2.0-alpha3 | 283 | Sunday, December 17, 2017 | Exempted |
Pester 4.2.0-alpha2 | 271 | Tuesday, December 12, 2017 | Exempted |
Pester 4.1.0 | 5912 | Sunday, November 26, 2017 | Approved |
Pester 4.0.6-rc | 429 | Thursday, August 17, 2017 | Approved |
Pester 4.0.5-rc | 354 | Tuesday, July 25, 2017 | Approved |
Pester 4.0.3-rc | 389 | Wednesday, March 22, 2017 | Approved |
Pester 4.0.2-rc | 381 | Wednesday, January 18, 2017 | Approved |
Pester 4.0.1-rc | 285 | Wednesday, January 18, 2017 | Approved |
Pester 4.0.0-rc1 | 338 | Wednesday, January 18, 2017 | Approved |
Pester 3.4.6 | 27798 | Friday, January 13, 2017 | Approved |
Pester 3.4.3 | 10969 | Friday, August 26, 2016 | Approved |
Pester 3.4.2 | 1194 | Tuesday, August 2, 2016 | Approved |
Pester 3.4.1 | 8804 | Friday, July 22, 2016 | Approved |
Pester 3.4.0 | 5667 | Tuesday, March 1, 2016 | Approved |
Pester 3.3.14 | 5356 | Wednesday, December 16, 2015 | Approved |
Pester 3.3.13 | 9837 | Thursday, December 10, 2015 | Approved |
Pester 3.3.12 | 492 | Tuesday, December 8, 2015 | Approved |
Pester 3.3.11 | 6900 | Tuesday, September 8, 2015 | Approved |
Pester 3.3.10 | 2196 | Friday, August 14, 2015 | Approved |
Pester 3.3.9 | 6523 | Sunday, May 24, 2015 | Approved |
Pester 3.3.8 | 4891 | Wednesday, April 15, 2015 | Approved |
Pester 3.3.7 | 336 | Wednesday, April 15, 2015 | Approved |
Pester 3.3.6 | 1745 | Thursday, March 19, 2015 | Approved |
Pester 3.3.5 | 2661 | Friday, January 23, 2015 | Approved |
Pester 3.3.4 | 358 | Thursday, January 22, 2015 | Approved |
Pester 3.3.3 | 312 | Thursday, January 22, 2015 | Approved |
Pester 3.3.2 | 340 | Monday, January 19, 2015 | Approved |
Pester 3.3.1 | 395 | Monday, January 12, 2015 | Approved |
Pester 3.3.0 | 320 | Saturday, January 10, 2015 | Approved |
Pester 3.2.0 | 540 | Saturday, December 13, 2014 | Approved |
Pester 3.1.1 | 516 | Wednesday, October 29, 2014 | Approved |
Pester 3.0.3 | 325 | Monday, October 13, 2014 | Approved |
Pester 3.0.2 | 525 | Monday, September 8, 2014 | Approved |
Pester 3.0.1.1 | 403 | Thursday, August 28, 2014 | Approved |
Pester 3.0.0 | 335 | Thursday, August 21, 2014 | Approved |
Pester 3.0.0-beta2 | 417 | Friday, July 4, 2014 | Approved |
Pester 3.0.0-beta | 420 | Wednesday, June 25, 2014 | Approved |
Pester 2.1.0 | 469 | Sunday, June 15, 2014 | Approved |
Pester 2.0.4 | 500 | Sunday, March 9, 2014 | Approved |
Pester 2.0.3 | 840 | Tuesday, April 16, 2013 | Approved |
Pester 2.0.2 | 3681 | Thursday, February 28, 2013 | Approved |
Pester 2.0.1 | 454 | Sunday, February 3, 2013 | Approved |
Pester 1.2.1 | 423 | Sunday, February 3, 2013 | Approved |
Pester 1.1.0 | 454 | Sunday, November 4, 2012 | Approved |
Pester 1.0.7-alpha-0 | 411 | Tuesday, October 2, 2012 | Approved |
Pester 1.0.6 | 434 | Sunday, August 12, 2012 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about Pester and the Pester package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Pester, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.