public void ReportInitialState(int totalNumberOfTests) { _startTime = new Stopwatch(); _startTime.Start(); if (totalNumberOfTests == 0) { _testsProgressLogger.StartLog(LoggingFormat, GenerateProgressBar(MaxProgressBar), 0, 0, 100, RemainingTime()); return; } _totalNumberOfTests = totalNumberOfTests; var totalNumberOfTestsPercentage = _numberOfTestsRun * 100 / _totalNumberOfTests; var progressBar = GenerateProgressBar(ProgressBarInitialState); _testsProgressLogger.StartLog(LoggingFormat, progressBar, _numberOfTestsRun, _totalNumberOfTests, totalNumberOfTestsPercentage, RemainingTime()); }
public void ReportInitialState(int totalNumberOfTests) { _stopWatch.Start(); _totalNumberOfMutants = totalNumberOfTests; _testsProgressLogger.StartLog(LoggingFormat, GenerateProgressBar(0), 0, _totalNumberOfMutants, 0, RemainingTime()); }
public void ReportInitialState(int totalNumberOfTests) { if (totalNumberOfTests == 0) { _testsProgressLogger.StartLog(LoggingFormat, GenerateProgressBar(MaxProgressBar), 0, 0, 100); return; } _totalNumberOfTests = totalNumberOfTests; var totalNumberOfTestsPercentage = _numberOfTestsRun * 100 / _totalNumberOfTests; var progressBar = GenerateProgressBar(ProgressBarInitialState); _testsProgressLogger.StartLog(LoggingFormat, progressBar, _numberOfTestsRun, _totalNumberOfTests, totalNumberOfTestsPercentage); }
public void ReportInitialState() { _mutantKilledLogger.StartLog("Killed : {0}", 0); _mutantSurvivedLogger.StartLog("Survived: {0}", 0); _mutantTimeoutLogger.StartLog("Timeout : {0}", 0); }