Ali Albaali
02/10/2021, 10:41 AMIgor Demin
02/10/2021, 10:49 AMdependencies {
testImplementation(compose("org.jetbrains.compose.ui:ui-test-junit4"))
}
There is an example how to write unit test:
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]sktopTest/kotlin/androidx/compose/foundation/ScrollbarTest.kt
P.S. We will add uiTestJUnit4
to gradle plugin in the future (https://github.com/JetBrains/compose-jb/issues/368)