Marc Fearby
01/28/2023, 1:39 AMjw
01/28/2023, 1:57 AMMarc Fearby
01/28/2023, 3:15 AMjw
01/28/2023, 3:23 AMUnresolved reference: createComposeRule
caused by adding this to a new test class:
@get:Rule
val rule = createComposeRule()
the relevant section of my build.gradle.kt looks like this, but I feel like I’m copying various suggestions from the web and getting nowhere. I think some official docs on this would be beneficial, but maybe testing is not ready yet?
val jvmTest by getting {
dependencies {
implementation(kotlin("test-junit"))
implementation("junit:junit:4.13.2")
}
}
Michael Paus
01/28/2023, 10:10 AMMarc Fearby
01/29/2023, 12:28 AMUnresolved reference: androidTestImplementation
Unresolved reference: debugImplementation
Arkadii Ivanov
01/29/2023, 3:12 PMMarc Fearby
01/29/2023, 9:48 PMimplementation("org.jetbrains.compose.ui:ui-test-junit4:1.2.1")