Expand description
Fix rust coverage based on source code.
Correct coverage is useful if you want to know what kind of tests you should write to avoid bugs in your project. This crate offers utilities to read coverage information from file, fix that information by choosing the rules, and save coverage into file.
This crate is very customizable.
You can also create custom reader/writer by implementing
CoverageReader
/CoverageWriter
trait. If you want to define a new rule to
fix the coverage, implement Rule
trait.
Modules§
Structs§
- Branch
Coverage - Coverage information for a single branch
- Coverage
Fixer - Fix coverage information based on source code
- File
Coverage - Coverage information for a single file
- Line
Coverage - Coverage information for a single line
- Package
Coverage - Coverage information for package