Espresso Integration with BrowserStack
- Clone the repo
- Build the main application:
./gradlew assemble
(apk will be generated in theapp/build/outputs/apk/debug/
directory) - Build the test application:
./gradlew assembleAndroidTest
(apk will be generated in theapp/build/outputs/apk/androidTest/debug/
directory) - Upload both the apk files to BrowserStack and start a session. Refer our documentation for details: Using Espresso with BrowserStack
- You can view your test results on the BrowserStack app-automate dashboard