产生 Swift 测试代码覆盖信息的工具:SwiftCov
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
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!