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

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -