1.

Explain Android Testing Framework?

Answer»

Android testing framework includes three SEGMENTS:

Application Package: It is the target application that requires to be TESTED

Instrumentation TestRunner: It is a test case runner that runs test cases on target application. It includes an SDK TOOLS for building test and a TOOL that provides APIs for writing program that control an android device, for example, MonkeyRunner

Test Package: It includes two classes, Test case classes, and Mock OBJECTS. Test case classes include test methods to perform on target application, while mock object includes mock data that will be used as sample input for test cases.

Android testing framework includes three segments:

Application Package: It is the target application that requires to be tested

Instrumentation TestRunner: It is a test case runner that runs test cases on target application. It includes an SDK tools for building test and a tool that provides APIs for writing program that control an android device, for example, MonkeyRunner

Test Package: It includes two classes, Test case classes, and Mock objects. Test case classes include test methods to perform on target application, while mock object includes mock data that will be used as sample input for test cases.



Discussion

No Comment Found