What is Espresso? Learn the features of Espresso, how to setup Espresso tests, and how to testing with Espresso.
- [Voiceover] Interacting with the Android UI…using the tools demonstrated to you so far is possible…but not always easy.…Testing an app user interface…often requires knowing a lot of the details…of how the app and the UI were programmed.…This is white box testing.…It often requires having to build in wait or sleep times…in order to allow the app and the app UI…to catch up to test code.…In situations where the app is making network connections…or working with other services or threads,…the tester must often have to figure out…how to deal with complex synchronizations…to have test code fire after responses have returned.…
What makes much of this type of testing difficult…it is that the timing and displays may be,…and often are, very different on different devices…and/or different versions of Android.…Espresso, a UI testing framework…provided as part of the Android Testing Support Library,…is meant to address these issues.…Espresso automatically synchronizes test code…with the application and user interface displays.…
AuthorJames P White
- Why unit test?
- Unit testing tools
- Local testing with JUnit
- Working with JUnit assertions, rules, and categories
- Executing instrumented tests
- Filtering tests
- Testing with UI Automator and other testing tools
Skill Level Intermediate
UX Foundations: Usability Testingwith Chris Nodder1h 29m Beginner
1. Getting Started
2. Local Tests
3. Instrumented Tests
4. Other Android SDK Testing Tools
5. Mocking objects
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.