Android Testing

Revision as of 10:08, 27 April 2011 by Tim Bird (Talk | contribs) (add initial testing page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page has information about various tests you can perform on Android

Google provides a number of resources for testing applications, including monkey, the logger, and the compliance test suite (CTS)

For an overview of Android application testing and resources provided by Google, see:

Application testing resources

  • Robotium test framework
    • Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.
    • Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.
  • Roboelectric test framework
  • Roboelectric allow you to test-drive the development of your Android app inside the JVM on your workstation in seconds, instead of in the emulator on on a device (which can be slow)
  • Robolectric allows you to test most Android functionality including layouts and GUI behavior, services, and networking code. It has more flexibility than Google's testing framework in some areas.


There are a number of benchmarks you can use to test operating system, hardware and graphics performance.

For information about performance testing and benchmarks, see: Android Benchmarks


Compliance Test Suite

See also Android Compliance Test Suite