- [Instructor] When you write an Android app, you need to check that it is working as expected. One way to do that, is to manually go through scenarios clicking buttons, typing tests just like new users do. However, that is very tedious. Automated testing allows you to execute and verify your app automatically. Most people think of testing as a way to catch bugs but writing a testable app needs proper separation of concerns, which means you will end up with highly modular code.
And with proper architecture, testing allows you to implement features faster. You can use mocks to set up your app to a certain state and write new code for that part of the app directly rather than clicking and typing to reach a certain screen and repeating again and again, as you make adjustments. In this course, we are going to look at different types of tests and build an app together to try out all the different techniques
- Why test?
- Local vs. on-device
- Code coverage
- UI testing
- Hermetic environment
- Dependency injection
- Testing with MVP
Skill Level 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.