chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
I am writing unit tests around HTTPClient methods using the async keyword. In the unit tests I use the .Result call to make the async methods run synchronously. The tests run fine but I am not seeing any test coverage green shields  or results in the coverage map.

I have closed the solution/deleted the test cache and rerun. Again - all the tests pass but I can't see coverage. Just a limit of trying to test an "async" method?
asked by meansala (3.6k points)

Please log in or register to answer this question.

...