Code coverage for unit module tests for developers

I am currently testing my CocoaPods developer, which is working fine. Tests run and work inside the Example project.

However, code coverage only covers project files, not developer module files:

enter image description here

I am looking for a way to give feedback on module code coverage. Any ideas?

+4
source share
2 answers

This problem is known and the solution is given on Cocoapod github .

. . "" . , .

, , , , pod, . .

, .

: .

+1

- @teriiehina.

  • Product → Scheme → Edit Scheme...
  • Test

enable code coverage

  1. Build

  2. + . pod

enter image description here

0

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


All Articles