【问题标题】:UITest code coverage report - Is there any way to merge multiple .xccovreport?UITest 代码覆盖率报告 - 有没有办法合并多个 .xccovreport?
【发布时间】:2018-10-10 11:08:40
【问题描述】:

由于某种原因,我需要多次通过 xcodebuild 命令行工具执行 UITest。每次执行 xcodebuild 都会生成一个 xccovreport。所以我会得到很多xccovreports。是否可以合并这些报告?

【问题讨论】:

    标签: ios code-coverage xcodebuild xcode-ui-testing uitest


    【解决方案1】:

    从 Xcode 10.2 开始,您现在可以xcrun xccov merge [--outReport] [--outArchive] report1.xccovreport archive1.xccovarchive report2.xccovreport archive2.xccovarchive ... 创建一个 xccovreport 文件。更多信息可以查看:https://shashikantjagtap.net/xccov-diff-and-merge-swiftios-code-coverage/

    【讨论】:

      猜你喜欢
      • 2019-01-29
      • 1970-01-01
      • 2010-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-16
      • 2014-08-21
      相关资源
      最近更新 更多