• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Testing
2@jd:body
3<p>
4    Android includes powerful tools for setting up and running test applications.
5    Whether you are working in Eclipse with ADT or working from the command line, these tools
6    help you set up and run your tests within an emulator or the device you are targeting.
7    The documents listed below explain how to work with the tools in your development environment.
8</p>
9<p>
10    If you aren't yet familiar with the Android testing framework, please read the topic
11    <a href="{@docRoot}guide/topics/testing/testing_android.html">Testing Fundamentals</a>
12    before you get started.
13    For a step-by-step introduction to Android testing, try the <a
14    href="{@docRoot}resources/tutorials/testing/helloandroid_test.html">Hello, Testing</a>
15    tutorial, which introduces basic testing concepts and procedures.
16    For a more advanced tutorial, try <a
17    href="{@docRoot}resources/tutorials/testing/activity_test.html">Activity Testing</a>,
18    which guides you through a more complex testing scenario.
19</p>
20<dl>
21  <dt><a href="testing_eclipse.html">Testing from Eclipse, with ADT</a></dt>
22          <dd>
23            The ADT plugin lets you quickly set up and manage test projects directly in
24            the Eclipse UI. Once you have written your tests, you can build and run them and
25            then see the results in the Eclipse JUnit view. You can also use the SDK command-line
26            tools to execute your tests if needed.
27          </dd>
28  <dt><a href="testing_otheride.html">Testing from Other IDEs</a></dt>
29    <dd>
30        The SDK command-line tools provide the same capabilities as the ADT plugin. You can
31        use them to set up and manage test projects, build your test application,
32        run your tests, and see the results. You use
33        the <code>android</code> tool to create and manage test projects, the Ant build system
34        to compile them, and the <code>adb</code> tool to install and run them.
35    </dd>
36</dl>
37