svix-webhooks icon indicating copy to clipboard operation
svix-webhooks copied to clipboard

Code coverage tooling

Open svix-dylan opened this issue 2 years ago • 1 comments

svix-dylan avatar May 19 '22 16:05 svix-dylan

Adding some thoughts here. Apologies about some confusion earlier in this PR, I was playing with multiple strategies and artifacts from both were left in the commits.

grcov uses one of two strategies to generate code coverage: source-based or "gcov"-based coverage (presumably via the gcc utility). Per further research, source-based coverage supports (at least) proc macros, and generally seems to be the preferred approach. This PR has only ever implemented source-based coverage (despite the presence of RUSTC_BOOTSTRAP=1).

Agreed, leaving this for now.

svix-dylan avatar May 20 '22 17:05 svix-dylan