DotCover Async Await Coverage

Answered

Hi, I'm not seeing any coverage results for methods that use the async/await pattern.  We have a large library of REST APIs and all of our code is implemented using async/await making the coverage reports of very limited usefulness.  Is there a way to get coverage for async code?

 

2
4 comments

Hi Ryan,

Which version of dotCover do you use?

0
Avatar
Permanently deleted user

I've tried it with 2017.3.1 and 2017.2.2x with the same result of not getting any code coverage for async methods.

0
Avatar
Permanently deleted user

Did you manage to get to the bottom of this, Ryan? I seem to have the same issue.

0
Avatar
Permanently deleted user

Maybe someone can share a sample that does not work?

0

Please sign in to leave a comment.