aspose file tools*
The moose likes Android and the fly likes How can I test a android application which is based on event notification in Juni? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How can I test a android application which is based on event notification in Juni?" Watch "How can I test a android application which is based on event notification in Juni?" New topic
Author

How can I test a android application which is based on event notification in Juni?

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Hi,

I am new to android platform. I need to write test case for a application, which is based on events.

I need to write the test cases in Junit.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5837
    
    7

Do any of these help: android sdk testing

I have done some unit testing of Android apps. I have very carefully layered my app so that the business logic is in POJOs with no dependency on the Android SDK; I test those with standard JUnit test cases. I have also used the Android SDK unit test framework to check the app's UI, but that is often trickier.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can I test a android application which is based on event notification in Juni?