How to run espresso tests on already existing app on device -


i have small test , apk of app. how can run test on app?

let's have small test:

@runwith(androidjunit4.class) @largetest public class helloworldespressotest {  @rule public activitytestrule<mainactivity> mactivityrule =         new activitytestrule(mainactivity.class);  @test public void listgoesoverthefold() {     onview(withtext("hello world!")).check(matches(isdisplayed())); }} 


Comments

Popular posts from this blog

python - Creating a new column in a dataframe based on the result of the addition of three others -

string - Using python and postgres, variables within execute function? -