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 gunnarpeipman.com

Click here to go to article

2 Comments

  • 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.

  • Thank you for your feedback tommyk! :)

Comments have been disabled for this content.