On Apr 23, 2:35 pm, Gubatron <gubat...@gmail.com> wrote: > I've come to use Unit Tests organically. > Certainly I don't write unit tests first, I write tests to make sure > what I've coded works the way it's supposed to. > I also add more tests whenever I find bugs. > > Of course not everything can be unit tested, but most things can be.
I found jmockit ( not to confuse with jmock!) extremely usefull in creation of unit tests. It can easily mock interactions with any android objects, and even superclasses of my activities so I can unit-test them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en