r/PowerShell • u/nkasco • Dec 10 '25
Question How Often Do You Write Pester tests?
Topic, genuinely curious.
19
Upvotes
r/PowerShell • u/nkasco • Dec 10 '25
Topic, genuinely curious.
View all comments
10
u/jippeenator Dec 10 '25
I've done a few recently. They are useful for ensuring functions in the code act as expected after editing and before committing.
The pester tests can be modified as you go to ensure new conditions are accounted for.
They provide some reassurance, so maybe I'll use them more moving forward.