The simple answer is no, you can't specify the location of the generated
html. However the file will always be created in a predictable place -
[users app data folder]/MbUnit/Reports/[assemblyname].Tests.html.
Alternatively, if you don't mind riding the bleeding edge, I've just checked
in a change (r105) that will allow you to do just that ( i.e.
runner.ReportToHtml(@"C:\Reports");).

Graham

On 04/04/07, SteveM < [EMAIL PROTECTED] > wrote:
>
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to