Hi everyone, I migrated from `com.android.library`...
# kotest
v
Hi everyone, I migrated from
com.android.library
to the new
com.android.kotlin.multiplatform.library
and all my kotest tests are now not detected when i run the test task I renamed all my sourceSets from
androidUnitTest
to
androidHostTest
and instead of running
testDebugUnitTest
now i'm running
testAndroidHostTest
and its now not detecting any kotest test I am also not able to add this
Copy code
android.testOptions {
   unitTests.all {
      it.useJUnitPlatform()
   }
}
in this new kmp android library plugin Kotest - 5.9.1
s
is androidHostTest a new thing ?
v
Yes, the new kmp android library gradle plugin has
androidHostTest
and
androidDeviceTest
sourcesets
s
is this new plugin designed to replace the old one even for non-KMP projects?
v
I dont think so, for pure android projects the
com.android.library
plugin should still be used
s
ok, and androidHostTest is where "unit" tests go and device == instrumentation ?
v
Yes
s
ok, I will look at this tomorrow as we're about to release 6.0, so would be good to get it working before
v
Sounds good, looking forward to it.
👍🏻 1