Docs/Mobile CLI

Emulators

Assrt mobile tests can target any iOS simulator or Android emulator available on the machine. This page covers listing, creating, and booting them from the CLI.

List devices

bash
assrt-mobile list-devices

Create an emulator

bash
# Android
assrt-mobile create-emulator \
  --name Pixel_8_API_34 \
  --device "pixel_8" \
  --api 34

# iOS: use Xcode's Devices & Simulators window

Boot and target

bash
assrt-mobile boot Pixel_8_API_34
assrt-mobile run tests/login.yaml --device Pixel_8_API_34
In CI, boot the emulator in a separate step before the test run and leave it running for the duration of the job. Cold boots add 30 to 60 seconds per test.