Test Execution - CI¶
Since AutoMobile is a tool designed to automate mobile interactions one of the big early use cases is running it on CI.
Run plans on CI with no agent capabilities¶
- Install AutoMobile:
npm install -g auto-mobile@latest
- Ensure one or more Android emulators are running and detectable by
adb devices
- Run test plans:
auto-mobile --cli executePlan --planContent "$(cat my-plan.yaml)"
TODO: bash script for parallel test execution & clearing app data between tests.
Run plans on CI with agentic healing, parallelism, and reporting¶
- Add AutoMobile’s JUnitRunner to your Android app & libraries.
- Read provider guides and setup relevant environment variables
- Ensure one or more Android emulators are running and detectable by
adb devices
before unit tests are run - Run unit tests via
./gradlew testUnitTestDebug