- Advantages of Espresso and automated testing
- Adding Espresso to an Android project
- Creating your first test
- Recording actions in the Test Recorder
- Pinpointing a view
- Testing list views
- Testing recycler views
Skill Level Beginner
- [Chiu-Ki] Welcome to getting started with Android Espresso. I'm 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, and we will be learning how to write Espresso tests in this course.
We will start from the classic Hello World app, first writing the Espresso test by hand and then using the Espresso Test Recorder to generate the code for us. We will also learn how to use the layout inspector to figure out how to pinpoint the views we want and how to test scrolling views like list view and recycler view. At the end of the course, you will be very comfortable with writing UI tests with Espresso.
This will help you build quality software by introducing automated UI testing into your work flow. Let's get started.
Effective Android Testing for Mobile Developerswith Chiu-Ki Chan2h 56m Intermediate
Advanced Android Espresso Testingwith Chiu-Ki Chan1h 37m Advanced
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
1. What Is Espresso?
2. Your First Espresso Test
3. Espresso Test Recorder
4. Pinpointing a View
5. List View
6. Recycler View
- 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.