What is Android test, divided into black box test and white box test.
Black box is the tester can not see the code, a series of test actions for the requirements, see if the code shows the effect is the same as the demand, or what unexpected situation did not deal with, the general development to the tester, the tester after half a day or a test, will return a test Excel form, Inside there are a list of bugs, or display and function mismatch, or there is a flash back and other accidents did not deal with, developers according to the bug list to repair it. There is a need to translate software requirements into test requirements, and developers to meet the requirements of the test relationship. Somewhat similar to the feel of TDD (test-drive-development) heard.
White box testing is mainly based on the code to test the bug, see the code and then analyze the code on what the boundary situation is not processed, and thus develop test cases to test.
Both black-box and white-box tests have many automated test tools and cell frameworks.
The SDK demo test contains a lot of logic, to cover the interface branch, the Code logic branch. After writing the test case, add the measurement tool
http://blog.csdn.net/marshalchen/article/details/9119979 This article is of reference significance
Android Test Analysis II