2 ms·
That sounds painful. And it's a regrettably common experience working with older code, code not written with testability in mind. Regarding Android, Netflix ha
by wpietri 15y ago
That sounds painful. And it's a regrettably common experience working with older code, code not written with testability in mind.
Regarding Android, Netflix has a nice article about what they do to test everything: http://techblog.netflix.com/2012/03/testing-netflix-on-android.html http://techblog.netflix.com/2012/03/testing-netflix-on-andro...
Personally, most of my testing code is unit tests. I try to isolate my code from third-party services in a variety of ways. I do have some integration tests that check that it all works together, but those are never as useful or as maintainable as I'd like.