Our great sponsors
-
PSKoans
A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hey it's been a while but I had a guy recommend I use "Koans" and it was pretty cool in addition to the aforementioned Month of Lunches. https://github.com/vexx32/PSKoans
I'm really surprised that nobody in this thread has mentioned Pester. PowerShell has its own automated unit testing framework that is incredibly versatile. You do need to know PowerShell in order to really make it shine, but if there are some simple tests that your class requires such as "make sure this value conforms to this regex value", Pester is pretty easy to pick up and utilize.