Writing Tests For An Android App That Logs Into Facebook
My Android app uses FacebookSDK for login. It's the first screen, and you can't do anything unless you login. I want to write some Espresso tests to be ran on Greenhouse Continuou
The solution is to involve UIAutomator in your tests together with Espresso for Android. It will be possible to go outside of your app under test context and perform some actions on Facebook login dialog. Similar question here and the example in my blog post.
Post a Comment for "Writing Tests For An Android App That Logs Into Facebook"