Code Coverage with Async Await

added by Paul Wheeler
11/17/2014 2:00:52 PM

1 Kicks, 165 Views

It may be a fools errand, but it is sometimes tempting to chase the elusive goal of achieving 100% code-coverage with unit tests. I’m not going to argue the merits of using code coverage as part of your test strategy, but if you do want to accurately measure your code coverage, things get tricky with methods that use the C# async await feature.