Automated Module Testing – Part 2


This post about Automated Module Testing follows the previous one and gives a finished theoretical example of what my future Automated Module Testing will produce as output.
I’ll use the same scheme to demonstrate how it works ! First of all here is a Cmdlet taken from my ExcelPSLib Powershell module (version 0.6.0 Dev version)

Now here is the complete test Cmdlet generated to test the OOXML-Export Cmdlet:

And here is the code to use the Cmdlet tester :

An the output looks like:


I’ll release a first version of this unit tester as soon as possible… Stay tuned 😉