The unotest-mobile CLI (iOS, macOS only). Run with npx @unotest/mobile <command>.
install
Install a built .app on the Simulator; auto-detect bundle ID, URL scheme and permissions; optionally bootstrap unotest/ and .mcp.json.
npx @unotest/mobile install <path-to-.app> [--update-env]--update-env— Persist the detected app/simulator config to the environment.
Example
npx @unotest/mobile install ./ios/build/.../MyApp.app --update-envinit
Bootstrap unotest/ + .mcp.json without installing an app.
npx @unotest/mobile initdoctor
Re-check the environment: Xcode, Simulator, Node, WebDriverAgent cache.
npx @unotest/mobile doctore2e
Run unotest/e2e/<name>.js against the Simulator.
npx @unotest/mobile e2e <name> [--quiet]--quiet— Suppress per-step trace output.
lint
Static-check every scenario and helper.
npx @unotest/mobile lintmcp
Run as an MCP stdio server (what the editor launches).
npx @unotest/mobile