Pester 3.0.0-beta

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.

This is a prerelease version of Pester.
There is a newer version of this package available.
See the version list below for details.
Install-Package Pester -Version 3.0.0-beta
dotnet add package Pester --version 3.0.0-beta
<PackageReference Include="Pester" Version="3.0.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pester --version 3.0.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

 - 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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.7.3 1,371 3/23/2019
4.7.2 695 3/8/2019
4.7.1 156 3/5/2019
4.7.0 97 3/3/2019
4.4.1 8,637 9/20/2018
4.4.0 3,797 7/20/2018
4.4.0-beta2 152 7/8/2018
4.4.0-beta 217 5/6/2018
4.3.1 9,064 2/20/2018
4.2.0 229 2/18/2018
4.2.0-alpha3 254 12/17/2017
4.2.0-alpha2 183 12/12/2017
4.1.1 2,014 12/9/2017
4.1.0 262 11/21/2017
4.0.8 16,522 9/15/2017
4.0.7 203 9/13/2017
4.0.6-rc 194 8/17/2017
4.0.5-rc 246 7/25/2017
4.0.3-rc 1,239 3/22/2017
4.0.2-rc 237 1/18/2017
4.0.1-rc 232 1/18/2017
4.0.0-rc1 230 1/18/2017
3.4.6 18,332 1/13/2017
3.4.3 6,214 8/26/2016
3.4.2 448 8/2/2016
3.4.1 367 7/22/2016
3.4.0 10,448 3/1/2016
3.3.14 6,713 12/16/2015
3.3.13 428 12/10/2015
3.3.12 2,657 12/8/2015
3.3.11 2,183 9/8/2015
3.3.10 1,014 8/14/2015
3.3.9 4,526 5/24/2015
3.3.8 842 4/15/2015
3.3.7 329 4/15/2015
3.3.6 1,164 3/19/2015
3.3.5 1,012 1/23/2015
3.3.4 336 1/22/2015
3.3.3 353 1/22/2015
3.3.2 337 1/19/2015
3.3.1 512 1/12/2015
3.3.0 445 1/10/2015
3.2.0 758 12/3/2014
3.1.1 607 10/29/2014
3.0.3 462 10/13/2014
3.0.2 982 9/8/2014
3.0.1.1 416 8/28/2014
3.0.0 489 8/21/2014
3.0.0-beta2 361 7/4/2014
3.0.0-beta 349 6/25/2014
2.1.0 2,201 6/15/2014
2.0.4 577 3/9/2014
2.0.3 6,913 4/16/2013
2.0.2 502 2/28/2013
2.0.1 490 2/3/2013
1.2.1 412 2/3/2013
1.1.1 477 12/29/2012
1.1.0 481 11/4/2012
1.0.6 549 8/12/2012
1.0.5 536 5/6/2012
1.0.3 928 5/29/2011
1.0.2 572 5/24/2011
1.0.1 663 5/1/2011
1.0.0 788 3/14/2011
Show less