Marathon Cloud supports tests written with:
Application and Test Application
Before initiating the testing process for your application, you’ll require two APK files: one for the application that’s being tested, and another for the tests themselves. Typically, debug variants are utilized for this purpose.
If the primary application resides under the app/ subproject, you can execute the following command to build both the app and test APK:
# file structure
# |--project <== you are here
# |--app <== it's your primary application
./gradlew :app:assembleDebug :app:assembleDebugAndroidTest
Be sure to note the relative paths of the test APK and the app APK, as they will be required for running the tests.
In the context of our example, involving the
app project and the
debug build, these files can be located at the following paths:
- Application APK:
- Test Application APK: