01
Dev.to Kotlin
作者:Preetam Bhosle
發布:07-25 11:17
E2E Testing for Compose Multiplatform
Write a test in Kotlin, run it on Android, iOS, Desktop, and Wasm — watch it execute on each target.
重點摘要
Parikshan is an E2E testing framework for Compose Multiplatform.
It aims to let developers write one Kotlin test and run it across Android, iOS, Desktop, and Wasm.
The tool adds visual feedback, screenshots, video recording, synchronized execution, and watch mode.
Parikshan is an end-to-end testing framework for Compose Multiplatform that lets developers write tests in Kotlin and run them across Android, iOS, Desktop, and Wasm. The author built it to close a long-standing testing gap caused by fragmented platform-specific tools, languages, and setup overhead. Parikshan supports common E2E workflows such as forms, navigation, scrolling, overlays, drag gestures, and Material 3 components, while also offering visual feedback, screenshots, video recording, synchronized execution, and watch mode. Some advanced features are still being stabilized or are planned for future release.
Compose Multiplatform 的端到端测试
用 Kotlin 编写测试,并在 Android、iOS、Desktop 和 Wasm 上运行——观察它在每个目标平台上的执行过程。
重點摘要
Parikshan 是一个面向 Compose Multiplatform 的 E2E 测试框架。
它让开发者只写一份 Kotlin 测试,就能在多个平台上运行。
支持可视化反馈、截图、录制、同步执行和 watch mode。
Parikshan 是一个面向 Compose Multiplatform 的端到端测试框架,目标是让开发者只用 Kotlin 编写测试,就能在 Android、iOS、Desktop 和 Wasm 上运行。作者认为,跨平台 UI 测试长期受到平台工具分散、语言不统一和配置成本高的限制,因此打造了这个方案。Parikshan 已支持表单、按钮、导航、滚动、覆盖层、拖拽手势以及 Material 3 组件交互,并提供可视化反馈、录屏、截图、同步执行和 watch mode;一些高级能力仍在逐步稳定,未来还计划加入更多功能。
Compose Multiplatform 的 E2E 測試
用 Kotlin 撰寫測試,並在 Android、iOS、Desktop 與 Wasm 上執行——可直接觀看它在各目標平台上運行。
重點摘要
Parikshan 是一個用於 Compose Multiplatform 的 E2E 測試框架。
它讓開發者只用 Kotlin 撰寫一份測試,就能在多個平台上執行。
支援視覺回饋、截圖、錄影、同步執行與 watch mode 等功能。
Parikshan 是一個 Compose Multiplatform 的端到端測試框架,目標是讓開發者只用 Kotlin 撰寫測試,就能在 Android、iOS、Desktop 與 Wasm 上執行。作者指出,跨平台 UI 測試長期受限於各平台各自的工具、語言與設定成本,因此他打造了這個方案。Parikshan 已支援表單、按鈕、導覽、捲動、覆蓋層、拖曳手勢與 Material 3 元件互動,並提供視覺回饋、錄影、截圖、同步執行與 watch mode;部分進階功能仍在穩定中,另有規劃中的路線圖。