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-devicesCreate an emulator
bash
# Android
assrt-mobile create-emulator \
--name Pixel_8_API_34 \
--device "pixel_8" \
--api 34
# iOS: use Xcode's Devices & Simulators windowBoot and target
bash
assrt-mobile boot Pixel_8_API_34
assrt-mobile run tests/login.yaml --device Pixel_8_API_34In 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.