Documentation
¶
Overview ¶
Package testplan selects CI fuzz campaigns from committed changes. It does not replace the full integration suite or infer correctness from skipped work.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Changed ¶
Changed returns committed changed paths. A missing/initial baseline selects a full campaign instead of interpreting missing evidence as an empty diff.
func IncludeChangedTestImports ¶
IncludeChangedTestImports accounts for initialization in normally imported packages, even when only an unrelated ordinary test references that import. Unchanged import lists do not broaden helper-based target selection. Missing historical files or unreadable evidence conservatively affect every target in the owning package. Called only with a validated, available base revision.
Types ¶
type Package ¶
type Package struct {
ImportPath string
Directory string
Imports []string
TestImports []string
XTestImports []string
TestFiles []string
Targets []Target
}
type Plan ¶
type Plan struct {
Version string `json:"version"`
Full bool `json:"full"`
Changed []string `json:"changed"`
Selections []Selection `json:"selections"`
}
func Select ¶
Select conservatively follows production AND test import edges. Changes to test files select their declared fuzz targets, not unrelated campaigns. Corpus edits select exactly the named target. Fixture edits select their owning package and consumers; examples additionally feed Java/native/language. Unknown file ownership and build/tooling changes fall back to all targets.