Unit testing android applications

Please let me know how one can write unit tests for an Android app.

If possible, please provide some tutorials, names of testing tools, etc.

Thanks!
dshrenikAsked:
Who is Participating?
 
Dejan PažinConnect With a Mentor Head of SW DevelopmentCommented:

Try Robotium - a test framework for Android applications:

http://code.google.com/p/robotium/

Or Roboelectric:

http://pivotal.github.com/robolectric/
0
 
Dejan PažinConnect With a Mentor Head of SW DevelopmentCommented:

Or you could try the framework provided by the Android, here is the tutorial:

http://developer.android.com/resources/tutorials/testing/helloandroid_test.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.