tarpaulin
cargo-llvm-cov
Our great sponsors
tarpaulin | cargo-llvm-cov | |
---|---|---|
12 | 9 | |
2,331 | 817 | |
- | - | |
9.0 | 9.3 | |
6 days ago | 4 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tarpaulin
- Rust project test coverage
-
What are some good rust tools/extentions?
I’ll add tarpaulin, a crate I use for code coverage analysis.
-
Kudos to cargo-llvm-cov - really useful coverage reporting
Any pros/cons compared to tarpaulin?
-
Code Coverage Tooling
What about tarpaulin : https://github.com/xd009642/tarpaulin
- Measuring the coverage of a Rust program in Github Actions
-
Dare to ask for more #rust2024
Note that the tool cargo-tarpaulin provides code coverage.
-
Is there a rust way for doing TDD?
There is https://github.com/xd009642/tarpaulin for code coverage, but I'm not sure how widely it's used.
-
Uncovered Intermediate Topics
I know giving a link is not a tutorial, but I use https://github.com/xd009642/tarpaulin for this.
-
What's everyone working on this week (45/2021)?
Writing software test for [Toql](https://crates.io/crates/toql) and shaking out smaller bugs here and there. [Tarpaulin](https://github.com/xd009642/tarpaulin) is such a fantastic tool!
-
GlueSQL v0.7 - INDEX & ORDER BY are newly added.
Code quality also has become quite better than the last year. Almost codes in the project are tested by either unit or integration tests. Code coverage using tarpaulin is above 90%.
cargo-llvm-cov
-
TIL about `cargo llvm-cov` and `cargo nextest`
I'll let them speak for themselves: https://github.com/taiki-e/cargo-llvm-cov https://nexte.st/index.html
- Code coverage beyond lines?
-
What do you expect from Rust in 2023?
Meanwhile I wholeheartedly recommend https://github.com/taiki-e/cargo-llvm-cov which makes it almost as simple.
- Kudos to cargo-llvm-cov - really useful coverage reporting
-
Code Coverage Tooling
And the options to fail on insufficient coverage are rather lacking supporting only line coverage. I have suggested improvement and might do it if there is interest from the author.
-
Measuring the coverage of a Rust program in Github Actions
Another alternative is https://github.com/taiki-e/cargo-llvm-cov which is easy to use. Don't forget to also try the --html flag with it.
-
Website similar to cppinsights.io for Rust visualization
I'd take a look at either https://github.com/taiki-e/cargo-llvm-cov and/or https://github.com/dtolnay/cargo-expand for this kinda of behavior.
- cargo-llvm-cov: Cargo subcommand to easily use LLVM source-based code coverage
What are some alternatives?
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
grcov - Rust tool to collect and aggregate code coverage data for multiple source files
proptest - Hypothesis-like property testing for Rust
rustfix - Automatically apply the suggestions made by rustc
trust - Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
cargo-msrv - 🦀 Find the minimum supported Rust version (MSRV) for your project
Racer - Rust Code Completion utility
cargo-expand - Subcommand to show result of macro expansion
cargo-watch - Watches over your Cargo project's source.
cargo-temp - A CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies
Mockiato - A strict, yet friendly mocking library for Rust 2018
rustviz - Interactively Visualizing Ownership and Borrowing for Rust