androidandroid-testingandroid-monkey

Testing non-activity android applications


Monkey is used to test applications with activities. Is there a way to make automated tests like monkey for non-activity applications?


Solution

  • Usually, you use JUnit for that.

    Also, bear in mind that nearly every application needs an activity, if you want the application to be usable on Android 3.1+. The exception might be some sort of plugin to some other app.