package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev

# Packages

Package builder describes a set of types and methods for building corpora asynchronously.

# Functions

Merge merges corpora into a single corpus.
MergedName is the name that sname will appear under in a merged corpus where the original corpus name was cname.
Mock produces a representative corpus including the following features: - a subject with a failed compilation; - a subject with a flagged observation.
MockFailedCompile expands to a realistic looking subject that contains a failed compilation.
MockFlaggedRun expands to a realistic looking subject that contains some flagged runs.
MockRecipe constructs a mock recipe at dir.
MockSuccessfulCompile generates a mock CompileResult for a successful compile of subject sname with compiler cstr.
MockTimeoutRun expands to a realistic looking subject that contains some timed-out runs.
New creates a blank Corpus from a list of names.

# Variables

ErrCorpusDup occurs when we try to Add a subject into a corpus under a name that is already taken.
ErrMapRename occurs when we try to change the name of an entry inside a Map.
ErrNone is a variant of ErrSmall that occurs when the viable test corpus is empty.
ErrSmall occurs when the viable test corpus is smaller than that requested by the user.

# Type aliases

Corpus is the type of test corpora (groups of test subjects).