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?

 

4 comments
Comment actions Permalink

Hi Ryan,

Which version of dotCover do you use?

0
Comment actions Permalink

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
Comment actions Permalink

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

0
Avatar
Alexander Mikhailov
Comment actions Permalink

Maybe someone can share a sample that does not work?

0

Please sign in to leave a comment.