I am using a modified version of <https://github.com/yglukhov/coverage>. I am 
generating lcov.info file and then using vscode extension `coverage gutters` to 
overlay coverage info into my code. Superb result.

Yes, you have to add cov annotation but I find it useful, as project grow I 
have started to remove {.cov.} annotations to keep performance of the debug 
build reasonable. Since it hot spot, you know it is covered.

I had an idea to implement version of <https://github.com/yglukhov/coverage> 
that will use term rewriting macro feature 
<https://nim-lang.github.io/Nim/manual_experimental.html#term-rewriting-macros>.
 You will only to import coverage module to get coverage remort. Though some 
improvements to term writing macro needs to happen to make it feasible.

Reply via email to