trust icon indicating copy to clipboard operation
trust copied to clipboard

Feature request: code coverage

Open clarfonthey opened this issue 7 years ago • 3 comments

It would be nice to support uploading coverage to coveralls and other services.

clarfonthey avatar Mar 28 '17 18:03 clarfonthey

I think the problem will be how do you collect coverage information, at this time kcov may be the choice (not sure if we have other choice).

Ref: http://sunjay.ca/2016/07/25/rust-code-coverage

wdv4758h avatar May 20 '17 15:05 wdv4758h

There are several updates to this blog post. Do you think this is easily doable now ?

juanibiapina avatar Nov 25 '17 11:11 juanibiapina

tarpaulin could be used for this, but it's really slow (even on my machine). It seems to rebuild the project twice with nightly, thus breaking any possible cache usage.

If working, tarpaulin seems more ergonomic. kcov can, in addition, generates an html report that can be inspected locally.

nbigaouette avatar Jan 03 '19 04:01 nbigaouette