Mocking collaborators that are third-party libraries

Eb <[email protected]>
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <CANEY99Zh4ZUG=_hUUQo1epf2metEN-cpAybxOfsHLMTM7HP6LA@mail.gmail.com>
Hi everyone -

What criteria do you use to determine if a collaborator that is a
third-party should be mocked and the test should verify that the
collaborator was indeed called when it was supposed to be?

Thanks.

Eb

-- 
blog: http://eikonne.wordpress.com
twitter: @eikonne


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.