I received a reply directly via email (poster had tried, but been unsuccessful at posting to the group) that referenced a couple of useful article. I am posting it here as others with the same question as my may also find it useful.
--- On Tue, May 10, 2011 at 12:58 PM, Anatoly Geyfman wrote: Usually you'd want to use some sort of mock/stub objects for testing third-party libraries. Essentially, you want to completely replace the third-party dependencies in your code w/ either stubs for those dependencies (in case you have some canned responses you want to test your code against) or mocks (in case you want to ensure what you're sending to FB is correct). check out Jeff Atwood's take on stubs/mocks/etc: http://www.codinghorror.com/blog/2007/01/test-doubles-a-taxonomy-of-pretend-objects.html and Martin Fowler's discussion of mocks/stubs: http://martinfowler.com/articles/mocksArentStubs.html -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
