execute

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 10 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 CopyFile added in v0.7.0

func CopyFile(src string, dst string) (err error)

CopyFile copies a file from src to dst.

Code copied from "github.com/zimmski/osutil". This package fails to compile with alpine.

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