WCFMockA solution for unit testing WCF services | |
Download |
WCFMock Ranking & Summary
Advertisement
- License:
- Freeware
- Publisher Name:
- Pablo Mariano Cibraro
- Operating Systems:
- Windows All
- File Size:
- 5 KB
WCFMock Tags
- context WCF BizTalk WCF Service test unit unit testing WCF Sample Unit Testing Framework WCF service WCF Context Service Tester WCF Trace File WCF RIA Services unit testing tool WCF extention Silverlight Unit testing Debug Unit testing unit testing library WCF service tester WCF analyzer WCF Data Service
WCFMock Description
Many of the WCF services that we build today rely on the WCF context (OperationContext and WebOperationContext) for performing different things, specially REST services where the context is necessary for settings and getting Http status codes or headers. The fact that the WCF context does not expose interfaces or base classes complicates the unit testing a lot. In order to test a WCF service with what we have today, we have to either test the service as a black box (integration tests, which requires a lot of plumbing code to setup all the WCF infrastructure for the test, channels, host, client, etc) or create some wrappers to encapsulate the WCF context behavior. WCFMock was developed to be a solution for unit testing WCF services. It provides a set of useful classes that will help you to remove all the explicit dependencies with the operation context, and still provide a good way to mock them from unit tests.
WCFMock Related Software