Join Chiu-Ki Chan for an in-depth discussion in this video The sample app, part of Effective Android Testing for Mobile Developers.
- [Instructor] To learn about all the different kinds…of Android testing, we are going to build…a recipe app together.…Import the project into Android Studio.…Here I have the exercise files on the desktop.…You can download them from the course page.…Open the Projects tab and switch from Android view…to Project view.…Next, let's build the app.…Click on this green triangle and run it on an emulator.…
Right now, the app says, "No recipes."…Let's take a look at the code.…Go to app, src, main, java, and then open MainActivity.…If you look at the code, you can see that the MainActivity…doesn't really do anything.…Go to the layout file and all it has is a TextView…that says "No recipe."…In other words, right now this is just…your classic Hello World app.…
Let's take a look at the assets folder.…Inside you can see some recipes.…The goal of the app is to display these recipes…in the list and then go to an individual recipe…when the title is clicked.…We will also want to allow the user…to mark some recipes as favorites.…To build this app, our first task is to…
- Why test?
- Local vs. on-device
- Code coverage
- UI testing
- Hermetic environment
- Dependency injection
- Testing with MVP
Skill Level Intermediate
Android App Development: Unit Testingwith James P White2h 58m Intermediate
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
1. Testing Considerations
2. Test as You Go
3. UI Testing
4. Hermetic Environment
5. Robot Pattern
- 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.