Skip to content

Interface for ImapClient to aid in Unit Testing #16

merged 1 commit into from Nov 6, 2012

2 participants

nrstott commented Oct 30, 2012

...unit testing of classess dependent upon ImapClient

Nathan Created interface IImapClient for ImapClient to implement to facilita…
…te unit testing of classess dependent upon ImapClient
smiley22 commented Nov 1, 2012


thanks for your submission!

I'm not that familiar with unit testing so let me ask a couple of questions :) What is the benefit of the IImapClient interface in the context of unit testing? How do you unit-test a tcp client? What exactly should be tested now that the library has already been thoroughly bug-tested?

smiley22 commented Nov 6, 2012

ah okay that makes sense then. will merge when i get home later today

@smiley22 smiley22 merged commit 7e71cd0 into smiley22:master Nov 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.