An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# PesterExtensions

[![Build](https://github.com/BusHero/PesterExtensions/actions/workflows/build.yml/badge.svg?branch=main)](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