spin icon indicating copy to clipboard operation
spin copied to clipboard

Track code coverage

Open radu-matei opened this issue 2 years ago • 2 comments

We should consider tracking code coverage for Spin.

A possible solution could be https://github.com/xd009642/tarpaulin and https://about.codecov.io.

radu-matei avatar Apr 17 '22 14:04 radu-matei

This is kinda relevant to #343 also

jdbohrman avatar Apr 17 '22 15:04 jdbohrman

I find tarpaulin + this extension pretty helpful.

lann avatar Apr 22 '22 15:04 lann

I tried tarpaulin on Ubuntu 22.04. My command is cargo tarpaulin -v --follow-exec -t 600 --out html and it uses Ptrace engine to track the coverage. The coverage result is 24.47%. I will add it to the CI flow with codecov.io.

GitHub can't upload HTML files, so I add the extension .txt. tarpaulin-report.html.txt

FrankYang0529 avatar Oct 29 '22 16:10 FrankYang0529