# multiplatform


02/09/2021, 12:56 AM
Can anyone point me to any resources about getting code coverage to work in a KMM SDK project? I used the IDE wizard to create the standard starter project with the Greeting/Platform classes. Running the default tests w/o coverage, they all pass. When I run the default test to check if Android is mentioned with coverage, it shows 0%. I tried switching the test coverage runner to jacoco and it fails with the following:
Copy code
* Where:
Initialization script '/private/var/folders/x6/7s_3dlx95fj03stb89dd02_40000gn/T/ijresolvers6.gradle' line: 152
* What went wrong:
Execution failed for task ':shared:testDebugUnitTest'.
> Could not get unknown property 'AndroidGreetingTest_testExample' for build 'MyApplication' of type org.gradle.invocation.DefaultGradle.

Abhishek Dewan

02/09/2021, 3:22 AM
could be related to try running the test with coverage from terminal? perhaps will help