[android-developers] Android unit testing with ContentProviders and databases

2011-12-30 Thread barry
I have an app that uses a ContentProvider to serve data instead of directly accessing the database. The application is working as expected but I have a problem with unit tests: how can I force the ContentProvider to use a test database rather than a 'live' one? If I wasn't using a ContentProvider

[android-developers] Android Unit Testing

2011-07-22 Thread Abhishek Akhani
Hi I am not satisfied with the guidance of unit testing in developers.android.com... Can anyone provide me the link of any test project (for a whole android application) which covers all the aspects of android unit testing, so that i can learn from it how to write unit test cases for android

[android-developers] Android unit testing

2008-05-08 Thread versus
Hi all, I'm interested in the current solutions for Android to address the following requirements: - Unit testing for building blocks (activities, content providers, services...) - Integration of unit tests into the project build (maybe through dx -- junit if it works...) - Integration tests I