Skip to content

pauljnav/PesterUtility

Repository files navigation

Follow on Twitter

PesterUtility

Utility functions that assist when Pester testing

Get-FunctionName.ps1

An improved function over the original Get-FunctionNamesFromScript.ps1

Get-FunctionName can optionally search nested/child functions using the IncludeNestedFunctions switch parameter.

Modify the $ast.FindAll() method in Get-FunctionName, simplify by removing the -and $_.Parent -isnot [FunctionDefinitionAst] method.

Updated Get-FunctionName to output a list of parameters with calculated parameters. s

About

Utility functions for use when Pester testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors