This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic