#4 Add command line option to open report file

open
nobody
5
2008-12-18
2008-12-18
Anonymous
No

It would be nice if the Browser could accept a command line parameter to immediately open a report file. This is useful for integrating with "External Tools" in Visual Studio, allowing me to have the Browser open up with the code coverage results file that I just generated.

It's only a few lines in MainEntry.cs...

MainForm form = host.getService<MainForm>();
if (args.Length == 1)
{
host.getService<ICoverageReportService>().loadFromFile(args[0]);
}

Application.Run(form);

Discussion

  • Nils Andresen
    Nils Andresen
    2010-08-09

    I'd very much like to see this feature. Any plans on integrating it ?