Run iOS Tests with Marathon Cloud
Marathon Cloud revolutionizes your app testing experience. The platform provides infinite virtual devices and will automatically shard, sort, distribute, and retry your tests, allowing all tests to be completed in a maximum of 15 minutes.
This article will guide you on how to conduct your initial iOS tests using Marathon Cloud.
Build the application and testing .app bundles
Before initiating the testing process, create two .app bundles: one for the application and one for the tests. Typically debug variants are used:
- Application:
Build/Products/Debug-iphonesimulator/sample.zip - Tests Runner:
Build/Products/Debug-iphonesimulator/sampleUITests-Runner.zip
Run tests with UI
Click “Start your first test run” in the UI Dashboard. Upload your Application and Tests-Runner bundles, then click “Next: Schedule”.
Watching results
Monitor progress and results in real-time through the dashboard after scheduling.
Run tests with CLI
We recommend using the marathon-cloud-cli for CLI-based test runs:
marathon-cloud run ios \
--api-key generated_api_key \
--application sample.zip \
--test-application sampleUITests-Runner.zip
The full documentation is available on the CLI README.