How can I unit test a web service item in ASP.NET web forms?

242 Views Asked by At

I am trying to build a simple search with asp:Textbox that will have autocomplete powered by Ajax Toolkit AutoCompleteExtender. After hours of searching I found out that the only way to call the servicemethod that actually works is to create a new asmx web service and allow it to be called from a script(simply by uncommenting 1 line of built in code). Since the project requires a high percentage of code coverage (unit tests) I was wondering how can I test this class and method?

0

There are 0 best solutions below