Android uses, like we already saw, JUnit 3. It is the underlying framework to support instrumentation testing execution. All the tests you will write need to extend one of the following classes that extend the basic class
ActivityInstrumentationTestCase2: This class is used for running activity tests
ProviderTestCase2: This class is used for running tests of content providers and making sure that your tests always run against a clean dataset
ServiceTestCase: This class is used for validating the various states of your services
Keep in mind also that each of the previously mentioned base test classes provide specific methods and features that facilitate the testing of their target components. ...