gpt4 book ai didi

objective-c - 哪种代码覆盖工具对 Xcode for Swift 项目有帮助?

转载 作者:搜寻专家 更新时间:2023-10-31 22:15:31 31 4
gpt4 key购买 nike

哪个代码覆盖工具对 Xcode for Swift 项目有帮助?如果不是 Swift,那么有哪些可用的 Objective-C 代码覆盖工具?

最佳答案

从 Xcode 7 开始,代码覆盖率是测试功能的一部分:

Code coverage: Visualize the completeness of your test suite by enabling code coverage for your scheme. The code coverage tab in the test report shows which files, functions and lines of code were exercised and, more importantly, which were not exercised. The source code editor can also show code coverage information inline, allowing you to see at a glance which lines—and parts of a line—the tests exercised.

enter image description here

关于objective-c - 哪种代码覆盖工具对 Xcode for Swift 项目有帮助?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30751871/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com