What is the rationale for unit testing Android apps? Learn the importance of testing Android applications, explore what is generally tested, and identify the different types of testing.
- View Offline
- Exercise Files
- [Voiceover] In this video, I want to tackle…the why's around testing.…In other words, the rationale for testing.…If you're taking this course, chances are pretty good…that either you or someone in your project circle…has decided unit testing is important.…So you may not need convincing.…But, in case you have questions about why unit testing…is important as it relates to any software project,…not just Android apps, allow me to lay out some rationale.…I believe there are four fundamental reasons why…software engineers need to build and exercise tests…as part of the development efforts.…
First and foremost, this is the obvious reason.…Unit testing helps to remove or reduce bugs in code.…Second, unit tests provide a source of good documentation.…You may not have considered this reason,…it's often less than obvious.…Let's face it, most of us as software engineers…don't like to write documentation.…Try as we might, we often see documentation as the last…thing we need to do before releasing our code into the wild.…
AuthorJames P White
- Why unit test?
- Unit testing tools
- Local testing with JUnit
- Working with JUnit assertions, rules, and categories
- Executing instrumented tests
- Filtering tests
- Testing with UI Automator and other testing tools
Skill Level Intermediate
Foundations of UX: Usability Testingwith Chris Nodder1h 29m Beginner
1. Getting Started
2. Local Tests
3. Instrumented Tests
4. Other Android SDK Testing Tools
5. Mocking objects
- 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.