Closed CristianGM closed 5 years ago
I made it more generic, now any APK used by tests: orchestrator, test-butler-app, ... can be installed
what do you think @jonas-m- ? I think it does exactly what you suggested on your PR ( with the help of the plugin is just magic )
@yunikkk ?
I made it more generic, now any APK used by tests: orchestrator, test-butler-app, ... can be installed
what do you think @jonas-m- ? I think it does exactly what you suggested on your PR ( with the help of the plugin is just magic )
Yep - looks good - liking the generic approach :)
What machanism is used to install apks to the device? (I assume commander houses that functionality). I gave instant run another try this last week (still terrible) and noticed it used a single adb command to push all the apk files in one go. Not sure it would make any difference but might be worth looking at?
We use adb install if nothing changed. Instant run is not suitable for installs from scratch, it does push files and then uses tricks like custom classloader to hot swap to new stuff
@yunikkk, @ming13 let's merge and release an update? I have rights to do a release, but not to merge
Guess ming13 added the merge permissions for you already...
Yep!
Now that we allow to use Orchestrator it would be nice to install the APKs required by Orchestrator to run. Instead of being specific for Orchestrator this PR allows devs to install any extra APK they need.
There are no tests or documentation written yet because I want to validate the approach taken first, if it's ok I'll update the docs and add some tests ( suggestions on which ones are welcomed )