Pester 3.0.0
See the version list below for details.
dotnet add package Pester --version 3.0.0
NuGet\Install-Package Pester -Version 3.0.0
<PackageReference Include="Pester" Version="3.0.0" />
paket add Pester --version 3.0.0
#r "nuget: Pester, 3.0.0"
// Install Pester as a Cake Addin #addin nuget:?package=Pester&version=3.0.0 // Install Pester as a Cake Tool #tool nuget:?package=Pester&version=3.0.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 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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Pester:
Package | Downloads |
---|---|
Ops.Resource.Core.Lan.Windows
Provides the core cookbooks and scripts that are used to configure new Windows machines on a local network. |
|
Ops.Resource.Core.Azure.Windows
Provides the core cookbooks and scripts that are used to create new Windows machine images on Azure. |
|
PesterForPackageManagerConsole
Expose Pester to the Package Manager Console inside Visual Studio |
|
Ops.Resource.Core.HyperV.Image.Windows
Provides the core cookbooks and scripts that are used to configure new Windows install on a Hyper-V virtual hard drive template. |
|
Ops.Resource.Core.HyperV.Resource.Windows
Provides the scripts that are used to create a new Windows machine on Hyper-V from a virtual hard drive template. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Pester:
Repository | Stars |
---|---|
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
|
|
gsoft-inc/dynamite
C# toolkit to help you build maintainable SharePoint 2013 farm solutions
|
Version | Downloads | Last updated |
---|---|---|
5.5.0 | 28,379 | 6/27/2023 |
5.4.1 | 8,071 | 4/5/2023 |
5.4.0 | 6,439 | 1/10/2023 |
5.3.3 | 8,478 | 4/29/2022 |
5.3.2 | 953 | 4/22/2022 |
5.3.1 | 4,403 | 9/21/2021 |
5.3.0 | 1,014 | 8/17/2021 |
5.2.2 | 1,624 | 5/27/2021 |
5.2.1 | 751 | 5/13/2021 |
5.2.0 | 1,338 | 5/6/2021 |
5.1.1 | 37,032 | 12/11/2020 |
5.1.0 | 886 | 11/25/2020 |
5.0.4 | 2,431 | 9/3/2020 |
5.0.4-beta1 | 541 | 8/13/2020 |
4.10.2-beta1 | 317 | 5/29/2021 |
4.10.1 | 169,593 | 2/7/2020 |
4.10.0 | 1,396 | 2/1/2020 |
4.9.0 | 265,863 | 9/8/2019 |
4.8.1 | 38,715 | 5/11/2019 |
4.8.0 | 1,485 | 5/1/2019 |
4.7.3 | 2,654 | 3/23/2019 |
4.7.2 | 1,604 | 3/8/2019 |
4.7.1 | 5,274 | 3/5/2019 |
4.7.0 | 916 | 3/3/2019 |
4.4.1 | 175,179 | 9/20/2018 |
4.4.0 | 5,048 | 7/20/2018 |
4.4.0-beta2 | 994 | 7/8/2018 |
4.4.0-beta | 991 | 5/6/2018 |
4.3.1 | 52,449 | 2/20/2018 |
4.2.0 | 1,340 | 2/18/2018 |
4.2.0-alpha3 | 1,026 | 12/17/2017 |
4.2.0-alpha2 | 1,017 | 12/12/2017 |
4.1.1 | 3,624 | 12/9/2017 |
4.1.0 | 1,299 | 11/21/2017 |
4.0.8 | 22,774 | 9/15/2017 |
4.0.7 | 1,250 | 9/13/2017 |
4.0.6-rc | 958 | 8/17/2017 |
4.0.5-rc | 1,957 | 7/25/2017 |
4.0.3-rc | 4,736 | 3/22/2017 |
4.0.2-rc | 1,002 | 1/18/2017 |
4.0.1-rc | 1,002 | 1/18/2017 |
4.0.0-rc1 | 981 | 1/18/2017 |
3.4.6 | 170,074 | 1/13/2017 |
3.4.3 | 16,089 | 8/26/2016 |
3.4.2 | 1,883 | 8/2/2016 |
3.4.1 | 2,217 | 7/22/2016 |
3.4.0 | 25,152 | 3/1/2016 |
3.3.14 | 9,626 | 12/16/2015 |
3.3.13 | 1,496 | 12/10/2015 |
3.3.12 | 11,103 | 12/8/2015 |
3.3.11 | 16,749 | 9/8/2015 |
3.3.10 | 21,734 | 8/14/2015 |
3.3.9 | 25,083 | 5/24/2015 |
3.3.8 | 2,009 | 4/15/2015 |
3.3.7 | 1,539 | 4/15/2015 |
3.3.6 | 2,323 | 3/19/2015 |
3.3.5 | 2,189 | 1/23/2015 |
3.3.4 | 1,511 | 1/22/2015 |
3.3.3 | 1,471 | 1/22/2015 |
3.3.2 | 1,433 | 1/19/2015 |
3.3.1 | 1,592 | 1/12/2015 |
3.3.0 | 1,573 | 1/10/2015 |
3.2.0 | 3,753 | 12/3/2014 |
3.1.1 | 1,905 | 10/29/2014 |
3.0.3 | 1,749 | 10/13/2014 |
3.0.2 | 5,087 | 9/8/2014 |
3.0.1.1 | 1,823 | 8/28/2014 |
3.0.0 | 1,772 | 8/21/2014 |
3.0.0-beta2 | 1,312 | 7/4/2014 |
3.0.0-beta | 1,365 | 6/25/2014 |
2.1.0 | 3,629 | 6/15/2014 |
2.0.4 | 2,023 | 3/9/2014 |
2.0.3 | 9,666 | 4/16/2013 |
2.0.2 | 1,672 | 2/28/2013 |
2.0.1 | 1,684 | 2/3/2013 |
1.2.1 | 1,594 | 2/3/2013 |
1.1.1 | 1,661 | 12/29/2012 |
1.1.0 | 1,824 | 11/4/2012 |
1.0.6 | 1,697 | 8/12/2012 |
1.0.5 | 1,671 | 5/6/2012 |
1.0.3 | 2,191 | 5/29/2011 |
1.0.2 | 1,765 | 5/24/2011 |
1.0.1 | 1,943 | 5/1/2011 |
1.0.0 | 2,183 | 3/14/2011 |
3.0.0 (August 21, 2014)
Fix code coverage tests so they do not left breakpoints set [GH-149]
Add better output for hashtables in code coverage [GH-150]
Fix Invoke-Pester -OutputXml usage of relative paths
Remove Validate-Xml function
Remove legacy object adaptations support
Remove tests testing usage of the global scope
Add function name to Code coverage output [GH-152]
Suppress pipeline output in Context / Describe [GH-155]
Coverage Output Update [GH-156]
Add initial implementation of BeforeEach / AfterEach [GH-158]
CodeCoverage of files containing DSC Configurations [GH-163]
Rolling back some earlier Pester Scope changes [GH-164]
Legacy expectations cleanup [GH-165]
Invoke-Pester tests path fix [GH-166]
Assert-MockCalled default ModuleName fix. [GH-167]
Output exception source when test fails [GH-147]
Fix for PesterThrowFailureMessage on PowerShell 2.0. [GH-171]
Pester.bat no longer enables StrictMode. [GH-172]
Fixed default behavior of fixture parameter in Describe and Context. [GH-174]
Syntax errors in test files, as well as terminating errors from Describe or Context blocks are now treated as failed tests. [GH-168]
Mock lifetime is no longer tied to It blocks. [GH-176]
Add module manifest
Added multiple lines to failure messages from Should Be and Should BeExactly. Updated console output code to support blank lines in failure messages and stack traces. [GH-185]
Fixed stack trace information when test failures come from inside InModuleScope blocks, or from something other than a Should assertion. [GH-183]
Fixed stack trace information from Describe and Context block errors in PowerShell 2.0. [GH-186]
Fixed a problem with parameter / argument resolution in mocked cmdlets / advanced functions. [GH-187]
Improved error reporting when Pester commands are called outside of a Describe block. [GH-188]
Extensive updates to help files and comment-based help for v3.0 release. [GH-190]
3.0.0-beta2 (July 4, 2014)
Add code coverage
Fix TestName
Fix direct execution of tests when the script is dot-sourced to global scope [GH-144]
Fix mock parameter filter in strict mode [GH-143]
Fix nUnit schema compatibility
Fix special characters in nUnit output
3.0.0-beta (June 24, 2014)
Add full support for module mocking
Isolate Pester internals from tested code
Tests.ps1 files can be run directly
Add It scope to TestDrive
Add It scope to Mock
Add Scope parameter to Assert-MockCalled
Measure test time more precisely