Android SDK Unit Testing

Android SDK Unit Testing

English | 2016 | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 3 Hours | 515 MB

Make sure every part of your Android mobile app works perfectly. Test your application at the unit level using unit testing and the built-in tools in the Android SDK.

Make sure every part of your Android mobile app works perfectly. Test your application at the unit level using unit testing and the built-in tools in the Android SDK. Learn to write the two basic types of unit tests—local and instrumented—and handle complex conditionals, exceptions, and even user interface testing. White introduces tools from within and outside the SDK to speed up and automate unit testing. White also looks at mock objects, which help test code when real objects are unavailable (for example, a yet-to-be-created class). These simple testing techniques will help you create more stable codebases and deliver better quality apps to your end users.

Topics include:

  • 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