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
评论