Pester
3.0.3
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 f
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.
Show more
There is a newer prerelease version of this module available.
See the version list below for details.
See the version list below for details.
Installation Options
Owners
Copyright
Copyright (c) 2014 by Pester Team, licensed under Apache 2.0 License.
Package Details
Author(s)
- Pester Team
Tags
powershell unit testing bdd tdd mocking
Dependencies
This module has no dependencies.
FileList
- Pester.nuspec
- nunit_schema_2.5.xsd
- Pester.psd1
- Pester.psm1
- _PSGetItemInfo.xml
- bin\pester.bat
- en-US\about_BeforeEach_AfterEach.help.txt
- en-US\about_Mocking.help.txt
- en-US\about_Pester.help.txt
- en-US\about_should.help.txt
- en-US\about_TestDrive.help.txt
- Examples\Calculator\Add-Numbers.ps1
- Examples\Calculator\Add-Numbers.Tests.ps1
- Examples\Validator\Validator.Tests.ps1
- Functions\Context.ps1
- Functions\Context.Tests.ps1
- Functions\Coverage.ps1
- Functions\Coverage.Tests.ps1
- Functions\Describe.ps1
- Functions\Describe.Tests.ps1
- Functions\In.ps1
- Functions\In.Tests.ps1
- Functions\InModuleScope.ps1
- Functions\InModuleScope.Tests.ps1
- Functions\It.ps1
- Functions\It.Tests.ps1
- Functions\Mock.ps1
- Functions\Mock.Tests.ps1
- Functions\New-Fixture.ps1
- Functions\New-Fixture.Tests.ps1
- Functions\PesterState.ps1
- Functions\PesterState.Tests.ps1
- Functions\SetupTeardown.ps1
- Functions\SetupTeardown.Tests.ps1
- Functions\TestDrive.ps1
- Functions\TestDrive.Tests.ps1
- Functions\TestResults.ps1
- Functions\TestResults.Tests.ps1
- Functions\Assertions\Be.ps1
- Functions\Assertions\Be.Tests.ps1
- Functions\Assertions\BeNullOrEmpty.ps1
- Functions\Assertions\BeNullOrEmpty.Tests.ps1
- Functions\Assertions\Contain.ps1
- Functions\Assertions\Contain.Tests.ps1
- Functions\Assertions\ContainExactly.ps1
- Functions\Assertions\ContainExactly.Tests.ps1
- Functions\Assertions\Exist.ps1
- Functions\Assertions\Exist.Tests.ps1
- Functions\Assertions\Match.ps1
- Functions\Assertions\Match.Tests.ps1
- Functions\Assertions\MatchExactly.ps1
- Functions\Assertions\MatchExactly.Tests.ps1
- Functions\Assertions\PesterThrow.ps1
- Functions\Assertions\PesterThrow.Tests.ps1
- Functions\Assertions\Should.ps1
- Functions\Assertions\Should.Tests.ps1
- Functions\Assertions\Test-Assertion.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
6.0.0-alpha5 | 123 | 10/30/2024 |
6.0.0-alpha4 | 1,594 | 7/5/2024 |
6.0.0-alpha3 | 97 | 6/26/2024 |
6.0.0-alpha2 | 33 | 6/26/2024 |
6.0.0-alpha1 | 1,893 | 6/5/2024 |
5.6.1 | 1,654,341 | 7/1/2024 |
5.6.0 | 271,841 | 6/5/2024 |
5.6.0-rc1 | 356 | 5/17/2024 |
5.6.0-beta1 | 757 | 4/25/2024 |
5.5.0 | 2,650,098 | 6/27/2023 |
5.5.0-rc1 | 873 | 6/16/2023 |
5.4.1 | 524,241 | 4/5/2023 |
5.4.0 | 590,149 | 1/10/2023 |
5.4.0-rc1 | 1,505 | 11/6/2022 |
5.3.3 | 1,679,538 | 4/29/2022 |
5.3.2 | 34,902 | 4/22/2022 |
5.3.1 | 1,097,067 | 9/21/2021 |
5.3.0 | 1,027,823 | 8/17/2021 |
5.3.0-rc1 | 469 | 8/3/2021 |
5.3.0-beta1 | 147 | 7/23/2021 |
5.3.0-alpha5 | 324 | 6/24/2021 |
5.3.0-alpha4 | 417 | 6/2/2021 |
5.3.0-alpha2 | 65 | 5/31/2021 |
5.3.0-alpha1 | 450 | 5/13/2021 |
5.2.2 | 583,186 | 5/27/2021 |
5.2.1 | 105,694 | 5/13/2021 |
5.2.0 | 51,434 | 5/6/2021 |
5.2.0-rc2 | 718 | 5/1/2021 |
5.2.0-rc1 | 772 | 4/25/2021 |
5.2.0-beta1 | 661 | 4/24/2021 |
5.2.0-alpha3 | 931 | 3/29/2021 |
5.2.0-alpha2 | 1,159 | 3/7/2021 |
5.2.0-alpha1 | 820 | 3/6/2021 |
5.1.1 | 1,010,975 | 12/11/2020 |
5.1.0 | 46,855 | 11/25/2020 |
5.1.0-rc2 | 5,075 | 11/19/2020 |
5.1.0-rc1 | 1,068 | 11/7/2020 |
5.1.0-beta4 | 773 | 11/1/2020 |
5.1.0-beta3 | 894 | 10/25/2020 |
5.1.0-beta2 | 1,033 | 10/7/2020 |
5.1.0-beta1 | 822 | 9/18/2020 |
5.0.5-beta1 | 942 | 9/4/2020 |
5.0.4 | 142,024 | 9/3/2020 |
5.0.4-beta1 | 554 | 8/13/2020 |
5.0.3 | 115,884 | 8/8/2020 |
5.0.2 | 250,836 | 6/2/2020 |
5.0.1 | 145,157 | 5/28/2020 |
5.0.0 | 38,248 | 5/27/2020 |
5.0.0-rc9 | 1,343 | 5/16/2020 |
5.0.0-rc8 | 1,015 | 5/14/2020 |
5.0.0-rc7 | 792 | 5/12/2020 |
5.0.0-rc6 | 2,774 | 5/4/2020 |
5.0.0-rc5 | 1,721 | 4/24/2020 |
5.0.0-rc4 | 832 | 4/20/2020 |
5.0.0-rc3 | 1,046 | 4/14/2020 |
5.0.0-rc1 | 1,233 | 4/4/2020 |
5.0.0-beta | 1,323 | 2/8/2020 |
5.0.0-alpha4 | 1,534 | 5/26/2019 |
5.0.0-alpha3 | 1,545 | 3/23/2019 |
4.10.2-beta1 | 371 | 5/29/2021 |
4.10.1 | 7,106,753 | 2/7/2020 |
4.10.0 | 495,232 | 2/1/2020 |
4.9.0 | 1,019,134 | 9/8/2019 |
4.8.1 | 507,400 | 5/11/2019 |
4.8.0 | 58,002 | 5/1/2019 |
4.7.3 | 113,243 | 3/23/2019 |
4.7.2 | 56,898 | 3/8/2019 |
4.7.1 | 19,868 | 3/5/2019 |
4.7.0 | 32,014 | 3/3/2019 |
4.7.0-beta1 | 747 | 2/23/2019 |
4.6.0 | 284,687 | 1/21/2019 |
4.5.0 | 96,129 | 1/10/2019 |
4.5.0-beta2 | 754 | 1/5/2019 |
4.5.0-beta1 | 834 | 12/20/2018 |
4.4.4 | 26,908 | 1/3/2019 |
4.4.3 | 45,218 | 12/11/2018 |
4.4.2 | 160,460 | 10/3/2018 |
4.4.1 | 23,769 | 9/26/2018 |
4.4.0 | 108,439 | 7/20/2018 |
4.4.0-beta2 | 23,134 | 7/8/2018 |
4.4.0-beta | 23,089 | 5/6/2018 |
4.3.1 | 352,639 | 2/20/2018 |
4.2.0 | 26,523 | 2/18/2018 |
4.2.0-alpha3 | 22,775 | 12/17/2017 |
4.2.0-alpha2 | 22,747 | 12/12/2017 |
4.2.0-alpha1 | 47,748 | 12/12/2017 |
4.1.1 | 154,257 | 12/9/2017 |
4.1.0 | 95,699 | 11/15/2017 |
4.0.8 | 87,064 | 9/15/2017 |
4.0.7 | 7,567 | 9/13/2017 |
4.0.6 | 82,563 | 8/17/2017 |
4.0.5 | 80,764 | 7/25/2017 |
4.0.4 | 21,039 | 7/14/2017 |
4.0.3 | 175,003 | 3/22/2017 |
4.0.2 | 15,235 | 1/18/2017 |
3.4.6 | 17,750 | 1/13/2017 |
3.4.5 | 967 | 1/12/2017 |
3.4.3 | 32,425 | 8/26/2016 |
3.4.2 | 4,252 | 8/2/2016 |
3.4.1 | 1,669 | 7/22/2016 |
3.4.0 | 42,046 | 3/1/2016 |
3.3.14 | 1,251 | 12/16/2015 |
3.3.13 | 359 | 12/10/2015 |
3.3.12 | 314 | 12/8/2015 |
3.3.11 | 760 | 9/8/2015 |
3.3.10 | 478 | 8/14/2015 |
3.3.9 | 5,366 | 5/24/2015 |
3.3.8 | 418 | 4/15/2015 |
3.3.7 | 296 | 4/15/2015 |
3.3.6 | 342 | 3/19/2015 |
3.3.5 | 892 | 1/23/2015 |
3.3.4 | 314 | 1/22/2015 |
3.2.0 | 699 | 12/3/2014 |
3.1.1 | 352 | 10/30/2014 |
3.0.3 (current version) | 388 | 10/11/2014 |