Take an in-depth look at using the Android Espresso library to write repeatable Android UI tests. Explore advanced topics including intents, hermetic test environment, and IdlingResource.
- [Chiu-Ki] Welcome to Advanced Android Espresso Testing. I am Chiu-Ki Chan, a Google developer expert in Android. Testing is essential in delivering high quality software. In Android, we need to test both the logic and the UI of the app. Espresso is a great library for UI testing but it can be tricky to use it to write repeatable UI tests. In this course, we will look into three scenarios.
Testing a multi-activity app with incoming and out going intents. Creating a hermetic test environment with dependency injection and mocking. And implementing idling resource to provide custom synchronization. These advanced techniques will help you go beyond the basics, and write repeatable UI tests for complex apps. Are you ready? Let's get started.
- Incoming and outgoing intents
- How intents are used
- Dependency injection
- Why extract dependencies?
- Mockito and Dagger
Skill Level Advanced
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
Effective Android Testing for Mobile Developerswith Chiu-Ki Chan2h 56m Intermediate
2. Hermetic Test Environment
- 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.