Beispiel #1
0
 public static void Main(string[] args)
 {
     using (XunitPerformanceHarness p = new XunitPerformanceHarness(args))
     {
         string entryAssemblyPath = Assembly.GetEntryAssembly().Location;
         p.RunBenchmarks(entryAssemblyPath);
     }
 }
Beispiel #2
0
 public static void Main(string[] args)
 {
     using (XunitPerformanceHarness harness = new XunitPerformanceHarness(args))
     {
         foreach(var testName in GetTestAssemblies())
         {
             harness.RunBenchmarks(GetTestAssembly(testName));
         }
     }
 }