Skip to content

trailofbits/cargo-line-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-line-test

Run tests by the lines they exercise

cargo-line-test relies on cargo-llvm-cov and requires it to be installed independently:

cargo install cargo-line-test cargo-llvm-cov

Examples

# Build cargo-line-test database
cargo line-test --build

# Run the tests that exercise src/main.rs:99
cargo line-test --line src/main.rs:99

# Run the tests that exercise lines changed by diff
git diff | cargo line-test --diff

# Update the database following source code changes
cargo line-test --refresh

About

Run tests by the lines they exercise

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages