Preetam
07/25/2026, 9:49 AMcommonTest and run them on a single target or across all targets (Android, iOS Simulator, Desktop JVM, and Web WasmJs) at once.
class SampleE2ETest {
@Test
fun testGreeting() = e2eTest {
input("name_input", "Parikshan")
click("greet_button")
assertVisible("Hello, Parikshan!")
}
}
Run it across all targets concurrently:
./gradlew e2eTest
Key Capabilities
• Write Once in Kotlin: Runs on Android, iOS Simulator, Desktop (JVM), and Web (WasmJs).
• Visual Feedback: Watch tests execute on real target windows, with support for screenshots, video recording.
• Zero Production Pollution: No test dependencies or test hooks in your production builds.
Links
• Documentation: aryapreetam.github.io/parikshan
• Blog: aryapreetam.github.io/parikshan/…/e2e-testing-for-compose-multiplatform
• API Reference: aryapreetam.github.io/parikshan/api
• GitHub: github.com/aryapreetam/parikshan
I've been using this in my own CMP projects & I'd appreciate feedback from the community — what works, what breaks, and what you'd like to see improve/added.