Verb for function containing a Pester test

In pester 4.0, you can put an “It” (pester test) inside a function. I’m writing a module of re-usable tests to validate (pre- and post-) deployment conditions.

My first instinct is to call the function Test-<resource>, but then I expect Test- cmdlets to return $true or $false rather than being a pester test.

If this doesn’t make sense I can elaborate.

submitted by /u/michaelshepard
[link] [comments]

Leave a Reply