 outputFolder.empty()
 outputFolder.saveAttachments(rootPath: rootAttachmentPath, attachments: attachments)
 outputFolder.saveSourceFile(from: testExecution.summaryFileURL, to: "TestSummaries.plist")
-outputFolder.saveSourceFile(from: ChuteCodeCoverage.codeCoverageURL, to: "report.json")
+outputFolder.saveSourceFile(from: ChuteCodeCoverage.codeCoverageURL(testSummaryURL: testExecution.summaryFileURL), to: "codeCoverage.xccoverage")
 if let styleSheetData = ChuteStyleSheet.encodedStyleSheets(from: styleSheets) {
     outputFolder.saveSourceFile(fileName: "stylesheets.data", data: styleSheetData)
 }

    let beforeTestResults = ChuteTestResult.findResults(testSummary: beforeTestSummary)
    let beforeAttachments = ChuteTestAttachment.findAttachments(testSummary: beforeTestSummary)
    let beforeStyleSheets = ChuteStyleSheet.decodedStyleSheets(path: URL(fileURLWithPath: compareFolder).appendingPathComponents(["source", "stylesheets.data"]))
    let beforeCodeCoverage = ChuteCodeCoverage.findCodeCoverage(path: URL(fileURLWithPath: compareFolder).appendingPathComponents(["source", "report.json"]))

    let beforeTestDetail = ChuteDetail(project: project, testDate: Date(), branch: arguments.branch,
                                       pullRequestNumber: arguments.pullRequestNumber, testResults: beforeTestResults,

let testResults = ChuteTestResult.findResults(testSummary: testExecution.summary)
let attachments = ChuteTestAttachment.findAttachments(testSummary: testExecution.summary)
let styleSheets = ChuteStyleSheet.findStyleSheets(testSummary: testExecution.summary, rootPath: rootAttachmentPath)
let codeCoverage = ChuteCodeCoverage.findCodeCoverage(testSummaryURL: testExecution.summaryFileURL)

let chuteTestDetail = ChuteDetail(project: project, testDate: Date(), branch: arguments.branch,
                                  pullRequestNumber: arguments.pullRequestNumber, testResults: testResults,
