package
0.5.0
Repository: https://github.com/go-gremlins/gremlins.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

New instantiates an Engine.
NewExecutorDealer initialises a MutantExecutorDealer.
NewTokenMutant initialises a TokenMutator.
NewTokenNode checks if the ast.Node implementation is supported by Gremlins and gets its Tok/Op and relative position.
WithDirFs overrides the fs.FS of the module (mainly used for testing purposes).
WithExecContext overrides the default exec.Command with a custom executor.

# Constants

DefaultTimeoutCoefficient is the default multiplier for the timeout length of each test run.

# Variables

TokenMutantType is the mapping from each token.Token and all the mutator.Type that can be applied to it.

# Structs

CodeData is used to check if the mutant should be executed.
Engine is the "engine" that performs the mutation testing.
MutantExecutorDealer is a ExecutorDealer for the initialisation of a mutantExecutor.
NodeToken is the reference to the actualToken that will be mutated during the mutation testing.
TokenMutator is a mutator.Mutator of a token.Token.

# Interfaces

ExecutorDealer is the initializer for new workerpool.Executor.

# Type aliases

ExecutorDealerOption is the defining option for the initialisation of a ExecutorDealer.
Option for the Engine initialization.