SwiftCov测试代码生产工具

联合创作 · 2023-10-02 03:05

SwiftCov 是一个可以产生 Swift 测试代码覆盖信息的工具。

用法:

$ swiftcov helpAvailable commands:

   generate   Generate test code coverage files for your Swift tests   
   help       Display general or command-specific help
   version    Display the current version of SwiftCov

怎样运行实例项目:

$ make install
$ cd Examples/ExampleFramework/
$ swiftcov generate --output coverage_ios \
  xcodebuild test \
  -project ExampleFramework.xcodeproj \
  -scheme ExampleFramework-iOS \
  -sdk iphonesimulator \
  -configuration Release
浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报