Testing is also an important part of the development process, and the Android development environment integrates a test framework that can be used to test all aspects of Android applications, unit testing, UI testing, and more.
This tutorial is based on the English version of the Android development tutorial.
Basic concepts include
Basics of Android Testing
The activity testing focuses on the test of an activity and describes some of the techniques that can be used to control the event in addition to the instrumentation, and then to test the specific functionality of the operation and test the UI.
Content Provider testing focus on testing content Provider.
Service testing focus on testing service.
What needs to be tested, and so on.
And how to create a test project and some test tools provided by the Android development tool in the Eclipse ADT development environment. Before reading this test tutorial, you need to have some basic knowledge of Android development, see Android Development tutorials, and need to know some of the basic junit concepts.
The test samples in Apidemo are parsed.
See a full set of tutorials: http://www.bianceng.cn/OS/extra/201301/35252.htm