Hi! I have an instrumentation test, that is common...
# multiplatform
g
Hi! I have an instrumentation test, that is common to both Android and iOS implementations and I wonder what is the best place to keep it. For now I’m having a base class in
commonTest
and have setup instrumentation test to depends on it
Copy code
val androidInstrumentedTest by getting  {
   dependsOn(commonTest.get())
}
but this has two downsides, I don’t see run button in Intellij for iOS test until I add dummy @Test function and I’m getting this warning indicating it might not be a best idea.
w: Kotlin Source Set 'androidInstrumentedTest' can't depend on 'commonTest' as they are from different Source Set Trees.
Should I just create another source like
commonInstrumentedTest
and make both
androidInstrumentedTest
and
iosTest
depend on it?