News for hackers. Stuff that matters.
Re:The maintainability of unit tests by brown9-2 on Thursday February 25, 2010 @12:54PM (#1151106)
I prefer to think of it as testing how you code behaves when the API returns x, y, or z.

It can be a pain to change the mocks and tests when the API changes, but what else can you do - not test this layer of your code?

Re:The maintainability of unit tests by j_baker on Thursday February 25, 2010 @02:38PM (#1151398)
Just because you don't unit test something doesn't mean you can't test it. This is what integration tests exist for.