On Sun, Aug 2, 2009 at 4:43 PM, Tom Whittaker<[email protected]> wrote: > because we are actually not finding bugs that use our real databases > and external web services until very late in the process.
Tom, I don't know how extreme your manager requires you to mock. While database is arguable but, IMHO, external web service should definitely be mocked. Not only that this is the only way to guarantee your test cases is repeatable, but also mock provide you with more possible test cases then the real external web service, which you have no control and hence hard to simulate, say a failure test case. I agree with Tim about the integration test. And probably the quality of unit test itself as well. Just my 2 cents :) Cheers, Kenneth --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
