Testing overview
With a wide array of devices of varying capabilities, form factors, and versions, Android is one of the most challenging operating systems to test. Getting the basic functionality and user experience itself is a challenge. The following figure illustrates tests that are usually performed in the context of an Android application development. As Bruce Schneier, a great cryptographer of our times, aptly states, "Security is not a product but a process", so you will notice that I have added security testing to the entire lifecycle of application testing.
Let us spend a little time on what each category, unit testing, integration testing, and system testing means from an Android perspective.
Unit testing: In most cases, developers who code the module develop unit tests. Developers should write and unit test their modules before handing off their code to test engineers. The Android SDK comes bundled with instrumentation APIs for unit test. This framework is implemented on JUnit...