Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMutation = errors.New("mutation testing failed")
Functions ¶
func Mutation ¶
Mutation runs gremlins mutation testing scoped to the given package path (e.g. './internal/rpm'). Pass './' to run the whole repository, which takes a few minutes; scoping to a package gives quicker feedback. The console lists only the mutants worth acting on, and a full JSON report is written to the build output directory.
func MutationDiff ¶
MutationDiff runs gremlins mutation testing only on the lines changed relative to the given git ref (e.g. 'main'). This is the fastest way to check whether a branch's changes are covered by tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.