logoalt Hacker News

oguz-ismail2today at 5:05 AM1 replyview on HN

> Rustrover (intellij) can certainly produce coverage reports.

See <https://sqlite.org/testing.html#statement_versus_branch_cove...>. Does Rustrover produce branch coverage reports?


Replies

josephgtoday at 5:12 AM

Yes! A quick google brings up cargo-llvm-cov[1], which is a rust wrapper around llvm source code coverage. It has an unstable --branch command for branch coverage, but branch coverage currently has some language level limitations[2].

[1] https://github.com/taiki-e/cargo-llvm-cov

[2] https://github.com/rust-lang/rust/issues/124118