A bit off topic, and no, I don't have any fuel to support your idiot manager (just saying that because I can without consequence, I'm sure he's a brilliant guy :-));
I do remember reading an article by Fowler on mocks (where he wound up taking the position against extreme mocking in his usual eloquent and persuasive way. It's an easy google. Go get 'em! On Aug 2, 1:43 pm, Tom Whittaker <[email protected]> wrote: > I have a development manager who wants us to mock almost every single > component our software change interacts with because he insists that > we are suppose to completely isolate our unit test from other > components, which is what he calls a unit test. > > We keep telling him that is not how to write unit tests, but he is the > manager, and so we've been doing it this way. > > For example, I agree with the following web page's "Reasons for use" > of mocks. > > http://en.wikipedia.org/wiki/Mock_object > > Does anyone have the argument that supports the extreme position our > manager is taking? Or better yet, a good book or paper that argues > against this extreme? > > From what I've been seeing, it has created poorer quality software > because we are actually not finding bugs that use our real databases > and external web services until very late in the process. We just had > a feature freeze date, and we found a few major problems that day > largely because everyone was using mocks, and the mocked systems did > not behave the way our mocks did, and the higher level functional > tests created by QA missed a few things that a normal unit test would > of caught had we not been using mocks for everything. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RhinoMocks?hl=en -~----------~----~----~----~------~----~------~--~---
