Jon Rumsey

An online markdown blog and knowledge repository.


Project maintained by nojronatron Hosted on GitHub Pages — Theme by mattgraham

Testing Android Studio Applications

Table of Contents

Overview

Unit testing your code implementations that are dependent on Android platform libraries requires one or more of the following:

What To Unit Test

UI Tests

Specialized Tests

What To AVOID Testing

Avoid testing frameworks your code depends on (these should already be fully tested with accessible results, etc).

Avoid unit-testing Framework Entry Points such as Activities, Fragments, or Services.

References

Developer Android Build Local Tests

Stack Overflow Writing Instrumentation Tests

Android Studio Project Site

Android Developer What To Test in Android

Android Developer Using Test Doubles in Android

Android Developer Testing Codelabs

Back to Index