# Functions
As is shameful.
Brokenf makes a nice Broken for you.
Canon constructs a canonical (via JSON) representation.
No description provided by the author
No description provided by the author
FindInclude searches the include directories for the file.
FirstRune returns the first rune or false (if the string has zero length).
HappyTerminalPhase reports whether the given phase name represents a happy terminal phase.
Include looks for '#include', 'include:' or 'includes:' to find YAML files to include in the input data at the given location.
IncludeMap includes the filename (v) at (at).
IncludeYAML surrounds Include() with YAML (un)marshaling.
IsBroken reports whether the given error is a *Broken.
No description provided by the author
JSExec executes the javascript source with the given context and environment mappings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBroken does exactly what you'd expect.
NewCtx build a new dsl.Ctx.
NewErrors does what you expect.
No description provided by the author
No description provided by the author
NewRedactions makes a disabled Redactions.
NewRetries returns the default Retries specification.
No description provided by the author
No description provided by the author
NewTest create a initialized NewTest from the id and Spec.
ReadIncluded is a utility function that's convenient for Include().
Redact might replace part of s with <redacted> depending on the given Regexp.
RegexpMatch compiles the given pattern (as Go regular expression, matches the target against that pattern, and returns the results as a list of match.Bindings.
No description provided by the author
No description provided by the author
TrimEOL is a utility function that removes the last (if any) newline character(s).
Wait will attempt to parse the duration and then sleep accordingly.
WantsRedaction reports whether the parameter's value should be redacted.
# Variables
No description provided by the author
DefaultChanBufferSize is a default buffer size any Chan can choose to consider.
No description provided by the author
DefaultLogger is the default logger.
DefaultLogLevel is the default log level.
No description provided by the author
DefaultSerialization is of course the default Serialization (for pub and recv operation).
HappyTerminalPhases is the set of phase names that indicate that the test has completed successfully.
Serializations is a dictionary of supported Serializations.
TheChanRegistry is the global, well-known registry of supported Chan types.
# Structs
Broken is an error that represents a test that is broken (and not simpling failing).
No description provided by the author
Ctx includes a context.Context, logging specifications, and some directories for various file inclusions.
No description provided by the author
Errors collects errors from the main test as well as from final phase executions.
No description provided by the author
Failure is an error that does not represent something that's broken.
GoLogger is just basic Go logging.
No description provided by the author
No description provided by the author
MockChan is a channel type that just emits what it receives.
Mother is the mother of all (other) channels.
MotherMakeRequest is the structure for a request to make a new channel.
MotherRequest is the structure for a request to Mother.
MotherResponse is the structure of the generic response to a request.
No description provided by the author
Phase is a list of Steps.
Process represents an external process run from a test.
No description provided by the author
No description provided by the author
No description provided by the author
Redactions is set of patterns that can be redacted by the Redactf method.
Retries represents a specification for how to retry a failed test.
Spec represents a set of named test Phases.
Step represents a single action.
No description provided by the author
Test is the top-level type for a complete test.
# Type aliases
No description provided by the author
ChanKind is something like 'mqtt', 'kds', etc.
ChanMaker is the signature for a Chan constructor.
ChanRegistry maps a ChanKind to a constructor for that type of Chan.
Serialization is a enum of possible (de)serializations.