Issue
In the past week I was searching to find helpful information regard end to end testing on Android. Although I found UI Automator, it didn't catch my eyes.
I'm working on an application that its happy path contains 6 activities. I want to create my Booking object in main screen and move it across happy path to check its status. I think I'm able to mock server response with MockWebServer. All samples I see are testing one activity at time.
So my question is am I able to test all these activities (happy path) in one test? If yes is there any sample for that?
Solution
Espresso should be able to work with multi activities. But when you say end to end test, you want to treat the app as a black box and run a stand alone testing framework against it?
In that case, Espresso doesn't seem to be the solution though you sure can use it to exercise your happy path through a number of different activities.
Answered By - phq
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.