Hey everyone! I have a JVM library which I convert...
# multiplatform
r
Hey everyone! I have a JVM library which I converted to a KMM library. I have added all my tests into
commonTest
. Now when I try to run any test from the IDE it asks me to select
android/jvm
and selecting any of the options I get this error:
Copy code
Test events were not received

Execution failed for task ':core:jvmTest'.
> No tests found for given includes: [BrowseApiMapperTest](--tests filter)
What am i missing?
m
I know this error message from native Android development, there it means in some of your test files is a compiler error. Took me a while to figure it out. No file is marked red, but when you open the problematic file, it shows red. Normally on the left side of this error you sent are the gradle tasks listed. One is selected that shows the error message above. But if you select the main one from that list and scroll through all the sub logs, it shows somewhere the problematic file and links to it. Maybe in kmp, same issue as in native Android, worth checking
r
Sure I will give it a check! The other thing is I'm not able to import annotations from the kotlin test dependency. I was thinking it might be because of that as well