java - Fake android library for TDD -


in order use tdd when developing android library can used in other apps, decided around stub! android.jar creating copies of classes have higher precedence on classpath (easy using maven, put higher in list of dependencies , mark optional). example myservice in project extend fake implementation of android.app.service , can mock service methods accordingly.

is there wrong approach? haven't found such fake library imagine there must reason why?

i want find out if going down wrong path before start fleshing out library , writing more tests?

robolectric things.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -