Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I just need information about code coverage of webservice method that includes Async Methods as well.

Suppose, I have one method written in WebService, MethodOne(string Value) and I have written TestMethod to check code coverage for this method,

When I run Test and check in code coverage, it showing me something like


MethodOne(string) 100%
MethodOneAsync(string) 0%
MethodOneAsync(string,object) 0%

so because of Asynchronize methods, I can not understand the actual code coverage of my projects, I want to cover these kind of methods as well in my code coverage.

Any guidance or article would be greatly appreciate.

Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900