chakravatisingh

Q: When i run my tests from UITestTarget and try to get code coverage it always return zero coverage. Does code coverage work with only unit testing target?

I am running my UI test cases from UITest target in xcode 8. Also same time i try to gather code coverage profile data but it always return zero code coverage. When i run a simple test case in unit test target i get some code coverage using profile data. Does that mean code coverage will work only for unit testing target?

xcode 8, UITesting , Code Coverage

Posted on Sep 23, 2016 2:22 AM