Andrew Ebling
03/09/2021, 9:48 AMkotlinx.coroutines/kotlinx-coroutines-core/common/test/TestBase.common.kt.
Is it possible to re-use TestBase() my own tests? I’ve tried import kotlin.test.* however this package is not found, despite having the following in my Android app `build.gradle`:
implementation ‘org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3’
I’ve also tried adding a testImplementation line with the same, but the above import still fails.
Is re-using TestBase() etc. in my code not possible? Or is their a separate testImplementation entry I should add to my app build.gradle?ephemient
03/09/2021, 10:03 AMmain sourceset is exposed, the test sourceset remains internal to that project. tl;dr no, you can't use it by dependencyAndrew Ebling
03/09/2021, 10:10 AMAndrew Ebling
03/09/2021, 12:07 PM