Recent site activity  An Experimental Approach to Writing Unit
Tests (using the Android Notepad Sample)  In our 20% time, a few
of us at Google (but not on the Android team) have been working
on the problem of how to write unit tests for Android.  After
some experimentation, we've come up with the approach described
below.  We've found it to work well for us; take a look and let
us know your thoughts (you can leave comments here).  Note that
this approach uses the Java JVM--not Android's Dalvik VM.  We
explain the reasons for this decision below.  Of course,
functional tests are important too, so while we were at it we
wrote some doc on How to Write Functional Tests (with the
Android Notepad Sample).  Why write unit tests?  Small, isolated
unit tests can help you thoroughly test edge conditions in your
code.  Writing small unit tests can also help you write your
code so that dependencies are explicit and limited, which
improves its readability and flexibility.  What are the
problems?  There are several obstac