Anyone know of a good way to get test coverage info for test runs on iOS and/or JS targets?
Jacoco works for JVM, but it would be nice to get insight into coverage for platform-specific stuff
b
Big Chungus
09/13/2020, 2:56 AM
For js theres jest coverage reporters that work simmilar to jacoco
Big Chungus
09/13/2020, 2:56 AM
No idea what folks use for ios
k
Kavita
09/13/2020, 10:44 AM
I think Xcode generates test coverage report, also I have heard iOS developers talking about slather for the same.
I hope this helps.
a
ankushg
09/13/2020, 8:41 PM
Yeah I know coverage reporters exist for other platforms and there's plenty of guides for getting them set up when you're working in those platforms directly
I'm particularly wondering about how to configure `kotlin-test`'s JS or Xcode targets to use those coverage reporters within the context of Kotlin Multiplatform
b
Big Chungus
09/13/2020, 8:50 PM
You configure jest for kotlin js same as for plain js