I have the following code that works well:
class AutoExecute
{
static int Main(string[] args)
{
Assembly testAssembly = Assembly.Load("ToolUsage.Test");
using (AutoRunner runner = new AutoRunner(testAssembly))
{
runner.Load();
runner.Run();
runner.ReportToHtml();
return runner.ExitCode;
}
}
}
When I execute the exe created using this code It runs my test and
then immediately opens an html window with the results. Thats good,
but what I need now is to be able to simply redirect that HTML
formated data into an .html file for review later. This way I can run
this executable autotest in a disconnected fashion (such as after a
nightly build) and then from anywhere bring up the HTML report. Is
there a way to do this?
Thanks
-SteveM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---