Pester 2.1.0
See the version list below for details.
dotnet add package Pester --version 2.1.0
NuGet\Install-Package Pester -Version 2.1.0
<PackageReference Include="Pester" Version="2.1.0" />
paket add Pester --version 2.1.0
#r "nuget: Pester, 2.1.0"
// Install Pester as a Cake Addin #addin nuget:?package=Pester&version=2.1.0 // Install Pester as a Cake Tool #tool nuget:?package=Pester&version=2.1.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
|
|
workleap/dynamite
C# toolkit to help you build maintainable SharePoint 2013 farm solutions
|
Version | Downloads | Last updated |
---|---|---|
5.7.1 | 4,770 | 2 months ago |
5.5.0 | 30,970 | 6/27/2023 |
5.4.1 | 9,023 | 4/5/2023 |
5.4.0 | 6,457 | 1/10/2023 |
5.3.3 | 8,526 | 4/29/2022 |
5.3.2 | 973 | 4/22/2022 |
5.3.1 | 4,474 | 9/21/2021 |
5.3.0 | 1,033 | 8/17/2021 |
5.2.2 | 1,647 | 5/27/2021 |
5.2.1 | 767 | 5/13/2021 |
5.2.0 | 1,424 | 5/6/2021 |
5.1.1 | 41,531 | 12/11/2020 |
5.1.0 | 905 | 11/25/2020 |
5.0.4 | 2,459 | 9/3/2020 |
5.0.4-beta1 | 565 | 8/13/2020 |
4.10.2-beta1 | 329 | 5/29/2021 |
4.10.1 | 187,676 | 2/7/2020 |
4.10.0 | 1,423 | 2/1/2020 |
4.9.0 | 280,160 | 9/8/2019 |
4.8.1 | 39,409 | 5/11/2019 |
4.8.0 | 1,508 | 5/1/2019 |
4.7.3 | 2,699 | 3/23/2019 |
4.7.2 | 1,627 | 3/8/2019 |
4.7.1 | 5,590 | 3/5/2019 |
4.7.0 | 944 | 3/3/2019 |
4.4.1 | 175,404 | 9/20/2018 |
4.4.0 | 5,101 | 7/20/2018 |
4.4.0-beta2 | 1,066 | 7/8/2018 |
4.4.0-beta | 1,075 | 5/6/2018 |
4.3.1 | 54,921 | 2/20/2018 |
4.2.0 | 1,428 | 2/18/2018 |
4.2.0-alpha3 | 1,116 | 12/17/2017 |
4.2.0-alpha2 | 1,107 | 12/12/2017 |
4.1.1 | 3,724 | 12/9/2017 |
4.1.0 | 1,366 | 11/21/2017 |
4.0.8 | 22,847 | 9/15/2017 |
4.0.7 | 1,317 | 9/13/2017 |
4.0.6-rc | 1,018 | 8/17/2017 |
4.0.5-rc | 2,143 | 7/25/2017 |
4.0.3-rc | 4,884 | 3/22/2017 |
4.0.2-rc | 1,064 | 1/18/2017 |
4.0.1-rc | 1,064 | 1/18/2017 |
4.0.0-rc1 | 1,043 | 1/18/2017 |
3.4.6 | 170,288 | 1/13/2017 |
3.4.3 | 16,210 | 8/26/2016 |
3.4.2 | 1,952 | 8/2/2016 |
3.4.1 | 2,347 | 7/22/2016 |
3.4.0 | 25,568 | 3/1/2016 |
3.3.14 | 9,859 | 12/16/2015 |
3.3.13 | 1,564 | 12/10/2015 |
3.3.12 | 11,172 | 12/8/2015 |
3.3.11 | 16,819 | 9/8/2015 |
3.3.10 | 21,874 | 8/14/2015 |
3.3.9 | 26,513 | 5/24/2015 |
3.3.8 | 2,080 | 4/15/2015 |
3.3.7 | 1,609 | 4/15/2015 |
3.3.6 | 2,398 | 3/19/2015 |
3.3.5 | 2,286 | 1/23/2015 |
3.3.4 | 1,584 | 1/22/2015 |
3.3.3 | 1,542 | 1/22/2015 |
3.3.2 | 1,506 | 1/19/2015 |
3.3.1 | 1,672 | 1/12/2015 |
3.3.0 | 1,642 | 1/10/2015 |
3.2.0 | 3,852 | 12/3/2014 |
3.1.1 | 2,020 | 10/29/2014 |
3.0.3 | 1,863 | 10/13/2014 |
3.0.2 | 5,386 | 9/8/2014 |
3.0.1.1 | 1,939 | 8/28/2014 |
3.0.0 | 1,886 | 8/21/2014 |
3.0.0-beta2 | 1,429 | 7/4/2014 |
3.0.0-beta | 1,473 | 6/25/2014 |
2.1.0 | 3,745 | 6/15/2014 |
2.0.4 | 2,102 | 3/9/2014 |
2.0.3 | 9,748 | 4/16/2013 |
2.0.2 | 1,747 | 2/28/2013 |
2.0.1 | 1,759 | 2/3/2013 |
1.2.1 | 1,667 | 2/3/2013 |
1.1.1 | 1,740 | 12/29/2012 |
1.1.0 | 1,900 | 11/4/2012 |
1.0.6 | 1,773 | 8/12/2012 |
1.0.5 | 1,750 | 5/6/2012 |
1.0.3 | 2,275 | 5/29/2011 |
1.0.2 | 1,853 | 5/24/2011 |
1.0.1 | 2,029 | 5/1/2011 |
1.0.0 | 2,284 | 3/14/2011 |
New features:
- Mock internal module functions.
- Mock aliases, exe and filters.
- Compatible with PowerShell Strict mode.
Fixes and tweaks:
- Process It blocks in memory
- Fixed -ExecutionPolicy in pester.bat
- Fix TestDrive clean up
- Fix ShouldArgs in Strict-Mode
- Fix initialize $PesterException
- Validate Should Assertion methods
- Fix using commands without fully qualified names