Is there a testing dependency for Compose plugin? ...
# compose-desktop
a
Is there a testing dependency for Compose plugin? I can't find any.
i
There is:
Copy code
dependencies {
    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)
🙏 1