Project-ARTist / ArtistGui

ARTist's deployment application, for code-injection on an Android device.
https://artist.cispa.saarland
Other
37 stars 12 forks source link

Travis: Setup Emulator to run UI tests (fixes #81) #83

Closed partipan-dot closed 6 years ago

partipan-dot commented 6 years ago

In Travis we run ./gradlew build connectedCheck (line 43). "build" builds the app and runs the unit tests. "connectedCheck" executes the instrumentation tests on an Android device (physical) or an emulator. However we don't create/start an emulator.

This pull request installs the latest android emulator and the android-25 image. Afterwards it starts the emulator before executing the instrumentation tests.