static async Task <int> Main(string[] args) { // use while debugging // TRunner.CrashHard = true; TRunner.AddTests <FastExprKitTest>(); await TRunner.RunTestsAsync(); TRunner.ReportAll(); return(TRunner.ExitStatus); }
static void Main(string[] args) { if (args.Length > 0) { RunBenchmarks(); } else { TRunner.CrashHard = false; TRunner.AddTests <IntegrationTests>(); TRunner.RunTests(); TRunner.ReportAll(); } }
static async Task Main(string[] args) { TRunner.AddTests <UnitTests>(); TRunner.CrashHard = true; await TRunner.RunTestsAsync(); }