Crate rust_covfix

Source
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§

error
parser
rule

Structs§

BranchCoverage
Coverage information for a single branch
CoverageFixer
Fix coverage information based on source code
FileCoverage
Coverage information for a single file
LineCoverage
Coverage information for a single line
PackageCoverage
Coverage information for package

Traits§

CoverageReader
CoverageWriter

Functions§

get_verbosity
set_verbosity