Instrumentation class in the Android API.

Posted by Riyas on Stack Overflow See other posts from Stack Overflow or by Riyas
Published on 2010-04-06T10:24:32Z Indexed on 2010/04/06 10:53 UTC
Read the original article Hit count: 358

Filed under:
|
|

Hi All,

I have question on the Android API. Android API provides a class called "Instrumentation" class. What is the use of this class? Is the Instrumentation class be used only together with Junit for unit testing.

Can Junit framework can be used to test the methods of the Android API without using the Instrumentation class.

Since Junit package has been included in the Android package, I hope we dont need to use install separately for unit testing.

I would appreciate if you could provide me the information as i can't find these clear information anywhere on the Web.

If we use Junit test framework to test the Android API, can we have test results in the UI format rather than test format.?

Thanks a lot. Apprecite your time.

Regards, Riyas

© Stack Overflow or respective owner

Related posts about instrumentation

Related posts about junit