1page.title=Testing
2@jd:body
3
4<p> The Android framework includes an integrated testing framework that helps you test all aspects
5of your application and the SDK tools include tools for setting up and running test applications.
6Whether you are working in Eclipse with ADT or working from the command line, the SDK tools help you
7set up and run your tests within an emulator or the device you are targeting. </p>
8
9<p>If you aren't yet familiar with the Android testing framework, start by reading <a
10href="{@docRoot}tools/testing/testing_android.html">Testing Fundamentals</a>. For a step-by-step
11introduction to Android testing, try the <a
12href="{@docRoot}tools/testing/activity_test.html">Activity Testing Tutorial</a>. </p>
13
14
15
16<div class="landing-docs">
17
18  <div class="col-13" style="margin-left:0">
19    <h3>Blog Articles</h3>
20
21    <a href="http://android-developers.blogspot.com/2010/12/new-gingerbread-api-strictmode.html">
22      <h4>New Gingerbread API: StrictMode</h4>
23      <p>StrictMode is a new API in Gingerbread which primarily lets you set a policy on a thread
24declaring what you’re not allowed to do on that thread, and what the penalty is if you violate the
25policy. Implementation-wise, this policy is simply a thread-local integer bitmask.</p>
26    </a>
27
28    <a href="http://android-developers.blogspot.com/2010/10/traceview-war-story.html">
29      <h4>Traceview War Story</h4>
30      <p>I recently took my first serious look at Traceview, and it occurred to me, first, that
31there are probably a few other Android developers who haven’t used it and, second, that this is an
32opportunity to lecture sternly on one of my favorite subjects: performance improvement and
33profiling.</p>
34    </a>
35  </div>
36
37
38</div>
39
40
41