public static async Task RunAsync() { await IntegrationTestRunner.Test1(); await IntegrationTestRunner.Test2(); //await IntegrationTestRunner.Test3(); await IntegrationTestRunner.Test4(); }
public static void Main(string[] args) { try { IntegrationTestRunner.RunAsync().Wait(); } catch (AggregateException aEx) { foreach (Exception exception in aEx.InnerExceptions) { Console.WriteLine(exception.Message); } } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.ReadLine(); }