Package-level declarations
Multiplatform test drivers and session management for Android, iOS, Desktop, and Wasm.
Multiplatform test drivers and session management for Android, iOS, Desktop, and Wasm.
Multiplatform test drivers and session management for Android, iOS, Desktop, and Wasm.
Multiplatform test drivers and session management for Android, iOS, Desktop, and Wasm.
Multiplatform test drivers and session management for Android, iOS, Desktop, and Wasm.
Types
JVM-side driver that communicates with the ParikshanAndroidServer running inside the real Android app on the emulator/device. Uses HTTP POST over an adb forwarded port (e.g. 9879).
JVM-side driver that talks to the Parikshan server running inside a Desktop app.
Synchronous iOS E2E test scope that drives waits via NSRunLoop pumping instead of coroutine delay. This keeps the main thread available for UIKit/Compose rendering between polls.
JVM-side driver that talks to the Parikshan server running inside the iOS app.
Generic instrumentation test runner for Parikshan. The Gradle plugin will execute this test class via adb shell am instrument. It launches the user's default app activity, starts the in-app HTTP server, and passes the ComposeTestRule to it so it can execute remote E2E commands.
JVM-side driver for Compose/Wasm. It opens the app in Playwright and invokes the in-browser Parikshan bridge installed by Modifier.testTag instrumentation.
Functions
The primary entry point for writing End-to-End tests in Parikshan.
The primary entry point for writing End-to-End tests in Parikshan.
The primary entry point for writing End-to-End tests in Parikshan.
The primary entry point for writing End-to-End tests in Parikshan.
The primary entry point for writing End-to-End tests in Parikshan.
Initializes the Parikshan bridge for Wasm.
Runs an iOS E2E test block synchronously on the main thread, using NSRunLoop pumping for Compose recomposition.
Compatibility bridge for targets that still need app-side Parikshan metadata/actions alongside the stable selector contract provided by Modifier.testTag.
Replaces ComposeViewport to automatically grab the SemanticsOwner for E2E testing in Wasm.
Replaces ComposeUIViewController to automatically start the Parikshan in-app HTTP server and grab the SemanticsOwner for E2E testing.
Pumps the NSRunLoop to allow UIKit and Compose to process pending layout, rendering, and recomposition work.
Clears all tracked nodes from the iOS bridge state. Call between tests to prevent stale node interference.