Features & Capabilities
Parikshan provides an intent-based testing framework designed for Compose Multiplatform. You write tests once in Kotlin, execute them across desktop, web, and mobile, and inspect results through unified reports and recordings.
Supported Features Matrix
The following table outlines platform capabilities available in Parikshan:
| Capability | Desktop (JVM) | Web (Wasm) | Android | iOS |
|---|---|---|---|---|
| Core Intent DSL | Supported | Supported | Supported | Supported |
| File Picker Automation | Supported | Supported | Supported | Supported |
Synchronized Lockstep (--sync) |
Supported | Supported | Supported | Supported |
| Window Layout & Sizing | Supported | Supported | Fixed Viewport | Fixed Viewport |
Continuous Watch Mode (--watch) |
Supported | Supported | Planned | Planned |
| Video Recording & Reports | Supported | Supported | Supported | Supported |
Feature Highlights
Unified Intent DSL
Write UI tests in Kotlin using clean, high-level intents (click, input, assertVisible, scrollUntilVisible) that execute identically across all target platforms without target-specific selectors or boilerplate.
File Picker Automation
Automate native OS dialogs and browser file choosers using withFilePicker and withFilePickerCancel without blocking the application UI thread.
Synchronized Execution (--sync)
Run multiple platform targets in lockstep barrier synchronization. Every action is dispatched simultaneously across active targets, allowing side-by-side visual comparison of UI transitions and layouts.
Window Layout & Sizing
Control window geometry (--window-size), screen placement coordinates (--desktop-window-position, --wasm-window-position), and auto-tiling (--layout=side-by-side) for Desktop JVM and Web Wasm targets.
Continuous Watch Mode (--watch)
Run tests continuously during active development. Parikshan monitors your project source directories, automatically recompiles, and re-executes matching tests on file save.
Test Reports & Video Recording
Capture MP4 video recordings of test execution, full-resolution failure screenshots, and unified HTML reports aggregating test metrics across all platforms.