Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.






WCF and Unit Tests

Good practices demand tests for every new thing you have been able to get running. Otherwise our TDD chief is glum and moody during smoke breaks. So, to maintain the ever cheerful and busy climate in our office, this posting is going to discuss testing.


NB! This blog is moved to

Click here to go to article


tommyk said:

I think its best to move your WCF client class and interface to a seperate project so you can test those without having to host them in WCF.  Then you can write a test to make sure you can correctly connect to the WCF and not test your methods through the generated code of the service client.

# January 13, 2009 2:16 PM

DigiMortal said:

Thank you for your feedback tommyk! :)

# January 13, 2009 8:13 PM