Documentation
¶
Overview ¶
Package selene implements the mutation testing tool using selene.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildArgs ¶ added in v0.34.0
BuildArgs constructs the full argument list for invoking Selene, applying configured worker concurrency (GOMAXPROCS) and TestQuery SQLite DB integration.
Types ¶
type Params ¶
type Params struct {
Dir string `json:"dir" jsonschema:"The absolute directory path to run mutation testing in. Required."`
Packages string `json:"packages,omitempty" jsonschema:"Packages to run mutation testing on (default: ./...)"`
}
Params defines the input parameters.
type Runner ¶
type Runner interface {
Run(ctx context.Context, dir, name string, args ...string) error
RunWithOutput(ctx context.Context, dir, name string, args ...string) (string, error)
LookPath(file string) (string, error)
}
Runner defines the interface for running CLI commands.
var CommandRunner Runner = &stdRunner{}
CommandRunner is used to execute CLI commands.
Click to show internal directories.
Click to hide internal directories.