private static void Main(string[] args) { using (var auto = new AutoRunner()) { auto.Run(); auto.ReportToHtml(); } }
public static void StartAutoRunner() { using (AutoRunner auto = new AutoRunner()) { auto.Run(); auto.ReportToHtml(); } }
static void Main() { List <Result> results = AutoRunner.Run(); foreach (Result result in results) { Console.WriteLine(result); } }
public static void Main() { using (AutoRunner runner = new AutoRunner()) { runner.Load(); runner.Run(); runner.ReportToHtml(); } }
public static void Main(string[] args) { List <Result> results = AutoRunner.Run(); foreach (Result result in results) { Console.WriteLine(result); Activator. } }
static int Main(string[] args) { using (AutoRunner runner = new AutoRunner()) { runner.Load(); runner.Run(); runner.ReportToHtml(); int runnerExitCode = runner.ExitCode; return(runnerExitCode); } }
public static void Main(string[] args) { using (AutoRunner auto = new AutoRunner()) { //string reportName = String.Format("{0}.xml", auto.GetReportName()); // reportName = Path.GetFullPath(reportName); // FailureRunPipeFilter filter = new FailureRunPipeFilter(reportName); // auto.Domain.RunPipeFilter = filter; auto.Domain.Filter = FixtureFilters.Current; auto.Run(); auto.ReportToHtml(); auto.ReportToXml(); } Console.ReadLine(); }
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); }