Beispiel #1
0
 public static void Main()
 {
     using (AutoRunner runner = new AutoRunner())
     {
         runner.Load();
         runner.Run();
         runner.ReportToHtml();
     }
 }
Beispiel #2
0
 static int Main(string[] args)
 {
     using (AutoRunner runner = new AutoRunner())
     {
         runner.Load();
         runner.Run();
         runner.ReportToHtml();
         int runnerExitCode = runner.ExitCode;
         return(runnerExitCode);
     }
 }
Beispiel #3
0
        static void Main(string[] args_)
        {
            // run unit test
            AutoRunner auto = new AutoRunner();

            auto.Load();
            auto.Run();

            HtmlReport report = new HtmlReport();

            string fileName;

            // generate report results
            fileName = report.Render(auto.Result);
            // launch results in user's browser
            System.Diagnostics.Process.Start(fileName);
        }