louiscad
03/03/2019, 6:40 PMandroidTest
are run as unit tests without instrumentation, making them fail (they are run on the computer without Android OS with no option to run it from an Android device/emulator).
Where should I put my instrumented tests, or how should I configure my module to get instrumentation back?Kris Wong
03/03/2019, 7:34 PMbdeg
03/04/2019, 12:53 AMlouiscad
03/04/2019, 7:14 AMyshrsmz
03/04/2019, 8:14 AMandroid {
// min sdk and other android config
sourceSets {
androidTest.java.srcDirs += 'src/androidTest/kotlin'
}
}
louiscad
03/04/2019, 8:59 AMkotlin
dir by default, and I removed it in the process of migrating to Kotlin multiplatform plugin. Thanks for the hint!bdeg
03/04/2019, 12:59 PMlouiscad
03/04/2019, 1:02 PM