E2E Testing for Compose Multiplatform
I built an end-to-end testing framework for Compose Multiplatform called Parikshan.
Testing shared UI across targets has been one of the most painful parts of shipping multiplatform apps. Parikshan attempts to solve that problem.
You can write your UI tests in Kotlin inside commonTest and run them on a single target or across all targets (Android, iOS Simulator, Desktop JVM, and Web WasmJs) at once.
Example
Run it across all targets concurrently:
Key Capabilities
- Write Once in Kotlin: Runs on Android, iOS Simulator, Desktop (JVM), and Web (WasmJs).
- Visual Feedback & Video Recording: Watch tests execute on real target windows, with automated screenshot capture on failure.
- Zero Production Pollution: No test dependencies or test hooks in your production builds.
- Material 3 Support: Built-in support for date pickers, time pickers, dropdowns, bottom sheets, sliders, scrolling, and drag gestures.
Links
- 📖 Full Launch Article: aryapreetam.github.io/parikshan/blog
- 📚 Documentation: aryapreetam.github.io/parikshan
- ⚙️ API Reference: aryapreetam.github.io/parikshan/api
- 💻 GitHub Repository: github.com/aryapreetam/parikshan