https://github.com/BusHero/PesterExtensions
Extensions for the awesome Pester testing frameowork for PowerShell
https://github.com/BusHero/PesterExtensions
pester powershell testing
Last synced: 4 months ago
JSON representation
Extensions for the awesome Pester testing frameowork for PowerShell
- Host: GitHub
- URL: https://github.com/BusHero/PesterExtensions
- Owner: BusHero
- License: mit
- Created: 2022-07-11T17:11:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T19:05:20.000Z (over 2 years ago)
- Last Synced: 2024-05-23T00:31:10.964Z (11 months ago)
- Topics: pester, powershell, testing
- Language: PowerShell
- Homepage:
- Size: 116 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
- jimsghstars - BusHero/PesterExtensions - Extensions for the awesome Pester testing frameowork for PowerShell (PowerShell)
README
# PesterExtensions
[](https://github.com/BusHero/PesterExtensions/actions/workflows/build.yml)
Contains extension for the Pester testing framework
## Functions
- **Mock-EnvironmentVariables** - Allows to test scripts that modify environment
variables in a safe manner.
- **Test-SemanticVersionUpdate** - Test that an update to a semantic variable
is a valid one
- **Get-ScriptPath** - get the path corresponding to a test script file
- **Get-ProjectRoot** - get the root of the project