• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Android Testing Tools
2@jd:body
3
4<div id="qv-wrapper">
5<div id="qv">
6  <h2>See also</h2>
7  <ol>
8    <li><a href="{@docRoot}training/testing.html">Best Practices for Testing</a></li>
9  </ol>
10</div>
11</div>
12
13  <p>
14    Testing is a critical software development activity because it helps you
15    improve the quality of your apps, ensure better user satisfaction, and
16    reduce overall development time spent on fixing defects.
17  </p>
18
19  <p>The following sections describe tools that help
20  you test your mobile apps for the Android platform.</a>
21
22<dl>
23  <dt><strong><a href="{@docRoot}tools/testing-support-library/index.html">Android
24  Testing Support Library</a></strong></dt>
25    <dd>This library provides a set of APIs that allow
26    you to quickly build and run test code for your apps, including JUnit 4 and functional user
27    interface (UI) tests. The Android Testing Support Library includes the following test automation
28    tools:
29
30  <ul>
31    <li><a href="{@docRoot}tools/testing-support-library/index.html#AndroidJUnitRunner">AndroidJUnitRunner</a>:
32      JUnit 4-compatible test runner for Android
33    </li>
34
35    <li><a href="{@docRoot}tools/testing-support-library/index.html#Espresso">Espresso</a>:
36    UI testing framework; suitable for functional UI testing within an app
37    </li>
38
39    <li><a href="{@docRoot}tools/testing-support-library/index.html#UIAutomator">UI Automator</a>:
40    UI testing framework; suitable for cross-app functional UI testing across system and installed apps
41    </li>
42  </ul>
43    </dd>
44
45    <dt><strong><a href="{@docRoot}tools/help/monkey.html">Monkey</a></strong></dt>
46    <dd>This tool runs on your emulator or device and generates pseudo-random streams of user
47events such as clicks, touches, or gestures, as well as a number of  system-level events. You can
48use the Monkey tool to stress-test applications that you are developing, in a random yet
49repeatable manner.
50     </dd>
51
52  <dt><strong><a href="{@docRoot}tools/help/monkeyrunner_concepts.html">monkeyrunner</a></strong></dt>
53    <dd>This testing system provides an API for writing programs that control an Android device or
54emulator from outside of Android code.</dd>
55
56</dl>