On Dec 9, 10:06 pm, "Shane Courtrille" <[EMAIL PROTECTED]> wrote: > The terminology is a bit annoying but there are important differences. > > Mocks allow you to specify expected behavior BEFORE a call and verify > that the behavior occurred as expected. > > Test Spys allow you to verify behavior AFTER a call without creating > pre expectations. >
why is that an important difference? the only things that will change using one of the 2 way it's that with post expectation - all the tested code will be executed - the test has an aaa structure the logic of the test for me it's exactly the same when using pre or post expectation. what i don't understood? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
