I have an Android app and Android Wear that I would like to test end-to-end in an automatic real-life scenario. I want to run two emulators, one with an Android app and one with a Wear app. Perhaps using the Espresso environment to manage each device and verify that data synchronization is correct. Optimistically, I would like to connect to the existing instrumentation testing infrastructure in order to have a nice integration with Android Studio. Is it possible? I could not find anything in the documentation or when searching the Internet.
I see no other way to verify that my services and multithreaded connections are actually doing what they should. Maybe there is a better way?
source share