module which contains code to be shared among other modules tests. For some reason though I am getting unresolved reference errors despite having the dependency added. Here is what I have:
If I understand correctly, this is the only way to share code between tests
f
Fergus Hewson
09/20/2024, 5:47 AM
There is this, might be what you are looking for
val commonTest by getting {
dependencies {
implementation(libs.kotlin.test)
implementation(libs.kotlin.coroutines.test)
}
}
a
Ali Azaz Alam
09/20/2024, 7:29 AM
This is also a way:
commonTest.dependencies {
implementation(libs.kotlin.test)
implementation(libs.kotlin.coroutines.test)
}