You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coverage task can be enhanced to specify exclude expressions as arguments to the grcov command.
Include this as a feature so that people using the crate do not have the functionality change, unless they specifically enable it.
This would allow having markers to mark lines as never intending to have test code
pub fn do_something(data : SomeData) {
if let Some(x) = data.x {
// Normal code
} else {
panic!("This should never happen"); // GRCOV_EXCL_LINE
}
}
Currently there is no --excl-line, --excl-start, or --excl-stop arguments to the grcov command line. This feature would add those arguments when doing coverage if the new feature is enabled.
The text was updated successfully, but these errors were encountered:
Suggestion / Feature Request
The coverage task can be enhanced to specify exclude expressions as arguments to the grcov command.
Include this as a feature so that people using the crate do not have the functionality change, unless they specifically enable it.
This would allow having markers to mark lines as never intending to have test code
Currently there is no --excl-line, --excl-start, or --excl-stop arguments to the grcov command line. This feature would add those arguments when doing coverage if the new feature is enabled.
The text was updated successfully, but these errors were encountered: