IIS Hosted WCF service
IIS Hosted WCF service
Hi
I need to know the followings:
- How can i get code coverage for IIS Hosted WCF service?
- What type of test cases should i write to test wcf methods?
- What will be the MSBuild script? I used watiN for profiling Asp.net.
Regards Ilias Hossain
RE: IIS Hosted WCF service
Hi, Ilias. I just answered you via email from the support ticket you sent in. Thanks for your question! Let me know if you still have questions after looking at the email I sent.
RE: IIS Hosted WCF service
Hi
Thanks for the quick reply. Sorry. Actually this is not the question. The scenario is here:
- A WCF service is hosted in IIS. Say the end point is http://localhost/Services/TestService.svc
- I need to write test case for the end point methods like ServiceMethodA, ServiceMethodB. 3.By nCover i need to run those test cases and get the coverage of the TestService methods ServiceMethodA, ServiceMethodB.
For Asp.net and IIS we can use Selenium or WatiN to write test case for website pages and hitting the pages.
My question was for getting the coverage of ServiceMethodA, ServiceMethodB methods of http://localhost/Services/TestService.svc endpoint what technique i should follow in build script. Here for service methods we only took the service web reference.