Arthur
11/05/2026, 4:20 AMcom.android.kotlin.multiplatform.library ?Oliver.O
11/05/2026, 2:22 PMArthur
11/06/2026, 1:47 AMOliver.O
11/06/2026, 8:11 AMcom.android.kotlin.multiplatform.library, though limited to Android tests.
For Multiplatform support you might want to look into Roborazzi and combine it with a multiplatform test framework like TestBalloon (example here).Samyaraj Das
11/06/2026, 8:32 AMandroid { testOptions { ... } } block and targets a named variant. The Android KMP library plugin docs say the plugin has no top-level Android extension and uses a single variant, so the example doesn’t appear directly transferable.
I haven’t tested whether there’s another way to configure the new test-suite integration with this plugin.
Adding to Oliver’s Roborazzi suggestion: the Kotlin Foundation starter kit documents an Android host setup with recordRoborazziAndroidHostTest and verifyRoborazziAndroidHostTest. It may be a useful reference to try:
https://github.com/KotlinFoundation/kmp-contest-starter-kitOliver.O
11/06/2026, 8:46 AMkotlin.test would not support on all platforms. I’ve shown how this would work with TestBalloon recently at droidCon Berlin: (starting at 27:10)