execute

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMutationSurvived means that mutation go tests passed after mutation is applied.
	ErrMutationSurvived = errors.New("mutation survived")

	// ErrCompilationError means that mutation is pointless and leads to broken code.
	ErrCompilationError = errors.New("compilation error")
)

Functions

func GoTest

func GoTest(ctx context.Context, mutant *report.Mutant, opts GoTestOptions) error

Types

type GoTestOptions added in v0.7.0

type GoTestOptions struct {
	Changed       string
	Original      string
	PackagePath   string
	Debug         bool
	SilentMode    bool
	TestRecursive bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL