Regarding of testing, I’ve been writing some tests on commonMain and they’re always running under ios or iosX64 Gradle tasks.
I’ve downloaded the kmm-sample project from KMM documentation and the same happens there.
Does anybody knows why the shared code is always executed under ios tasks?
I’m having difficulties to find some quality content about shared tests.
01/05/2021, 9:20 AM
you can also run it under any other target using the correct gradle command, just not from the gutter icon in the IDE (this is a known bug)
01/05/2021, 9:30 AM
It also happens when I run the ‘check’ task. You can see ‘[ios]’ at the end of every test method execution.