Skip to content

Automate UI testing with Espresso #586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
misaochan opened this issue May 15, 2017 · 3 comments
Closed

Automate UI testing with Espresso #586

misaochan opened this issue May 15, 2017 · 3 comments

Comments

@misaochan
Copy link
Member

Would save time in the future if we could set up UI tests with Espresso:

https://developer.android.com/training/testing/ui-testing/espresso-testing.html
https://google.github.io/android-testing-support-library/docs/espresso/index.html

@whym
Copy link
Collaborator

whym commented May 16, 2017

Like https://github.com/commons-app/apps-android-commons/blob/master/app/src/androidTest/java/fr/free/nrw/commons/SettingsActivityTest.java ?

I agree we want more of them to reduce the chance of regression and accidental breakage. Most Activities and Fragments are not covered yet - ShareActivity, NearbyActivity, etc.

@misaochan
Copy link
Member Author

We probably need to whittle down the number of tasks remaining for the hackathon (since we only have 1.5 days left til the showcase on Sunday), so unless anyone wants to take this on personally, I'll remove the label.

@domdomegg
Copy link
Member

There's now a fair few good espresso tests 🎉

Can always add more but there are other issues for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants