Join James P White for an in-depth discussion in this video How much unit testing, part of Android SDK Unit Testing.
- View Offline
- Exercise Files
- [Voiceover] So you are convinced unit testing…is important and important to Android app development.…Next, you might ask how many tests need to be written…or how much of an app needs to be tested.…There is no absolute answer to these questions.…In fact, while the software development community…is largely behind unit testing as a whole,…you'll find they could be at odds over just how much…unit testing is the right amount of unit testing.…Usually discussions on the quantity of unit testing…revolves around the percentage of code…that is exercised with tests.…You'll hear the term coverage used when expressing…the amount of unit testing accomplished for an application.…
While this varies greatly per organization, team,…and application, you'll find as a rule of thumb,…most applications exercise roughly 70 to 80%…of their application code by unit tests.…If you're looking for guidance, this might be…as good a target as any.…However, understand depending on the complexity…and the duties of the application you're writing,…
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.