pub struct UntestedExportAction {
pub kind: UntestedExportActionType,
pub auto_fixable: bool,
pub description: String,
pub note: Option<String>,
pub comment: Option<String>,
}Expand description
Suggested action attached to an UntestedExport coverage-gap
finding.
build_untested_export_actions emits a two-entry array on every
untested-export item: an add-test-import primary action (import the
export from a test-reachable module) and a suppress-file action
(// fallow-ignore-file coverage-gaps). The export-specific variant
add-test-import reflects that a test-reachable reference chain, not
just any test coverage, is what closes the gap.
Fields§
§kind: UntestedExportActionTypeAction type identifier.
auto_fixable: boolWhether fallow fix can auto-apply this action. Today both
variants are manual.
description: StringHuman-readable description of the action.
note: Option<String>Additional context for the add-test-import variant (explains the
runtime-reachable / test-unreachable asymmetry). Absent on
suppress-file.
comment: Option<String>The file-level comment to insert. Present on suppress-file
(// fallow-ignore-file coverage-gaps). Absent on
add-test-import.