Automated Test Result Generation

Several test frameworks, http://UIAutomation.codeplex.com, http://SePSX.codeplex.com and any other that is based on PSTestLIbrary can generate test results directly from the code.

This is the easiest way to collect the results of your tests:
[UIAutomation.Preferences]::EveryCmdletAsTestResult=$true
[SePSX.Preferences]::EveryCmdletAsTestResult=$true

For visual representation of what these parameters can do, simply download the appropriate UIAutomation package (.NET 3.5 for PS2.0; .NET 4.0 for PS3.0 or Windows 8/2012; 'for.Metro.testing' for Windows 8/2012) and run your script from UIARunner.exe. It shows the results collected during the execution of the script, directrly in the grid in color.

Last edited Apr 15, 2013 at 11:02 AM by josekardano, version 1

Comments

No comments yet.