/// <summary> /// Capture coverage informaiton /// </summary> /// <param name="testRunner"></param> /// <returns></returns> public TestCoverageInfos GetCoverage(ITestRunner testRunner) { var testResult = testRunner.CaptureCoverage(); if (!testResult.Success) { _logger.LogWarning("Test run with no active mutation failed. Stryker failed to correctly generate the mutated assembly. Please report this issue on github with a logfile of this run."); throw new StrykerInputException("No active mutant testrun was not successful.", testResult.ResultMessage); } return(testRunner.CoverageMutants); }