consolereporter

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleReporter

type ConsoleReporter struct {
	// contains filtered or unexported fields
}

func New

func New(
	logger ditto.Logger,
	differ gomutatedfile.Differ,
	calculator ditto.ScoreCalculator,
	minimumThreshold float32,
) *ConsoleReporter

func (*ConsoleReporter) AddDiagnostic

func (r *ConsoleReporter) AddDiagnostic(diagnostic *ditto.Diagnostic)

func (*ConsoleReporter) Summarize

func (r *ConsoleReporter) Summarize() result.Result[any]

func (*ConsoleReporter) Total added in v0.10.0

func (r *ConsoleReporter) Total() int

Total is how many mutants the last Summarize scored. It is read through an optional interface, the way the temporary directory's RemoveAll and the gated laboratory's counters are, so no reporter is forced to answer.

Jump to

Keyboard shortcuts

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