- [Instructor] To use Espresso in your project,…you will need to add some dependencies.…You can find instructions on what dependencies to add…on the Android Developers website.…First, it tells you to add to app/build.gradle two lines,…one for Espresso Core…and the other one for Runner.…In fact, you only need to add the first line…because Espresso Core includes Runner for you already.…
After that,…you will also need to add the test instrumentation runner.…I've added them already for you in the exercise files…so that you know exactly where these lines go.…To use Espresso, we need some dependencies.…Let's take a look at app/build.gradle.…Inside the android block on line 15,…you can see that it says testInstrumentationRunner.…
This means that we will be adding an instrumentation test…and the value android.support.test.runner.AndroidJUnitRunner…is the runner we are going to be using.…This is the default.…You may be running what is an instrumentation test?…An instrumentation test exercises the UI.…Espresso is a framework…
- 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
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
Effective Android Testing for Mobile Developerswith Chiu-Ki Chan2h 56m Intermediate
Advanced Android Espresso Testingwith Chiu-Ki Chan1h 37m Advanced
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.