Unit Tests Android :
Test parts of the application in isolation with little connection to the underlying system.
In such cases we have to select a base class that is high enough in the hierarchy to remove some of the dependencies but not high enough for us to be responsible for some of the basic infrastructure.
The candidate base class in this case is possibly AndroidTestCase.
For example: Android CTS test suite (http://source.android.com/compatibility/cts-intro.html)
Its a group (batch) of unit tests for H/W devices on which Android OS planned to be shipped.
It shows the basic compatibility of H/W to run Android OS.
Next step is to run Android CTS unit test, will shared in next session how to run CTS on emulator or Android device.
No comments:
Post a Comment