Skip to content
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

UI (View) Testing #8

Open
yolapop opened this issue Nov 14, 2017 · 2 comments
Open

UI (View) Testing #8

yolapop opened this issue Nov 14, 2017 · 2 comments
Assignees

Comments

@yolapop
Copy link
Owner

yolapop commented Nov 14, 2017

Read the doc first → https://developer.android.com/training/testing/index.html

The type of test that I'll be doing is UI test on a device using Espresso.

source

Useful testing tools:

  1. Test Butler
  2. Mockito
  3. PowerMock

Useful presentations:

  1. Advanced Android Espresso
@yolapop yolapop self-assigned this Nov 14, 2017
@yolapop yolapop changed the title UI Testing UI (View) Testing Nov 14, 2017
@yolapop
Copy link
Owner Author

yolapop commented Nov 19, 2017

TO-DOS

  • Mock Glide
  • Mock API response

@yolapop
Copy link
Owner Author

yolapop commented Nov 23, 2017

Insights:

  1. Turns out... we don't have to use PowerMock, just use Android Studio build types and 💥 you have your mocked classes. Scratch that, mocking with build types requires constantly rebuilding project, so I will use PowerMock instead.

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

No branches or pull requests

1 participant