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.

On 12/9/08, Tim Barcz <[EMAIL PROTECTED]> wrote:
> really this only confuses...mocks, test doubles, spy, stubs.....ug
>
> On Tue, Dec 9, 2008 at 1:55 PM, Shane Courtrille
> <[EMAIL PROTECTED]>wrote:
>
>> Actually I misspoke.  It does not turn it into since no actual
>> transformation occurs afaik.  Instead it allows you to treat a stub like a
>> test spy.
>>
>>
>> On Tue, Dec 9, 2008 at 12:54 PM, Shane Courtrille <
>> [EMAIL PROTECTED]> wrote:
>>
>>> The answer you are looking for is that the method turns a stub into a
>>> test
>>> spy which is very useful for context styled testing.
>>>
>>>
>>> On Tue, Dec 9, 2008 at 8:57 AM, korkless <[EMAIL PROTECTED]> wrote:
>>>
>>>>
>>>> thanks ;) i'm going to read it
>>>>
>>>>
>>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to