Code coverage result is not accurate to real coverage in Xcode 7

前端 未结 5 719
清歌不尽
清歌不尽 2021-02-02 12:18

I am running test cases in application with enabled code coverage data Xcode 7 Beta 2. But I am able to get only few files coverage data while my all test cases are running succ

5条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 12:51

    This happens because .swift file of your project selected for both targets by default.

    Manually select and remove test target for files works for me.

提交回复
热议问题