static void showStatistics(CmisTestRunner testRunner) { logger.log(); logger.log("Finished"); logger.log("------------------------------------------------------"); logger.log("Total passed: " + testRunner.GeneralStatistics.PassedCount); logger.log("Total failed: " + testRunner.GeneralStatistics.FailedCount); logger.log("Total skipped: " + testRunner.GeneralStatistics.SkippedCount); logger.log("Total executed: " + testRunner.GeneralStatistics.TotalCount); logger.log("------------------------------------------------------"); logger.log("Totally spent time: " + testRunner.GeneralStatistics.TotalSpentTime + " ms"); logger.log(); logger.log(); }
static void Main(string[] args) { configureLogger(); writeHeader(); string[] testingServices = getTestingServices(); CmisTestRunner testRunner = new CmisTestRunner(); foreach (string service in testingServices) { Object test; if (tests.TryGetValue(service, out test)) { testRunner.run(test, service); } } showStatistics(testRunner); }