Join Chiu-Ki Chan for an in-depth discussion in this video Types of tests, part of Effective Android Testing for Mobile Developers.
- [Instructor] One common way to think about testing…is the testing pyramid.…It talks about three types of tests.…Unit tests, integration tests…and end to end tests.…The testing pyramid is a visual way to represent…the ideal distribution of tests.…We should test the fundamental building blocks…with unit tests which makes up the bulk of our tests.…Then we should verify how the units interact…with each other with integration tests.…
Finally we should have a small number…of end to end tests to make sure the whole system works.…This is all fine and well,…but it does not map very well into Android.…In particular a lot of our code depends…on the Android framework and it is not obvious…how to make stand alone units for unit testing.…Next we will explore the relationship…between Java and Android,…and how to petition our tests into local tests,…and on device tests.…
- 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.