How to determine code coverage for an Objective-C program?

When writing jUnit tests for Java , for example, tools like EclEmma make it easy to see how much coverage the program has and which areas of the code are left without test coverage.

enter image description here

Does something like this exist for Objective-C? How to determine code coverage for your Objective-C iOS app?

+4
source share
1 answer

Recent versions of LLVM, the Apple compiler uses support code coverage reports .

+2
source

Source: https://habr.com/ru/post/1381782/


All Articles