# Functions
ExpectedIntAt returns an ErrExpectedInt error annotated with the line/column of the supplied YAML node.
ExpectedMapAt returns an ErrExpectedMap error annotated with the line/column of the supplied YAML node.
ExpectedRetryAt returns an ErrExpectedRetry error annotated with the line/column of the supplied YAML node.
ExpectedScalarAt returns an ErrExpectedScalar error annotated with the line/column of the supplied YAML node.
ExpectedScalarOrMapAt returns an ErrExpectedScalarOrMap error annotated with the line/column of the supplied YAML node.
ExpectedScalarOrSequenceAt returns an ErrExpectedScalarOrSequence error annotated with the line/column of the supplied YAML node.
ExpectedSequenceAt returns an ErrExpectedSequence error annotated with the line/column of the supplied YAML node.
ExpectedTimeoutAt returns an ErrExpectedTimeout error annotated with the line/column of the supplied YAML node.
ExpectedWaitAt returns an ErrExpectedWait error annotated with the line/column of the supplied YAML node.
FileNotFound returns ErrFileNotFound for a given file path.
In returns an ErrIn when a thing unexpectedly appears in a container.
InvalidRetryAttempts returns an ErrInvalidRetryAttempts error annotated with the line/column of the supplied YAML node.
NewResult returns a new Result.
NoneIn returns an ErrNoneIn when none of a list of elements appears in an expected container.
NotEqual returns an ErrNotEqual when an expected thing doesn't equal an observed thing.
NotEqualLength returns an ErrNotEqual when an expected length doesn't equal an observed length.
NotIn returns an ErrNotIn when an expected thing doesn't appear in an expected container.
RequiredFixtureMissing returns an ErrRequiredFixture with the supplied fixture name.
TimeoutConflict returns an ErrTimeoutConflict describing how the Go test tool's timeout conflicts with either a total wait time or a timeout value from a scenario or spec.
TimeoutExceeded returns an ErrTimeoutExceeded when a test's execution exceeds a timeout length.
UnexpectedError returns an ErrUnexpectedError when a supplied error is not expected.
UnknownFieldAt returns an ErrUnknownField for a supplied field annotated with the line/column of the supplied YAML node.
UnknownSourceType returns an ErrUnknownSourceType error describing the supplied parameter type.
UnknownSpecAt returns an ErrUnknownSpec with the line/column of the supplied YAML node.
WithData modifies the Result with the supplied run data key and value.
WithFailures modifies the Result the supplied collection of assertion failures.
# Constants
DefaultRetryAttempts indicates the default number of times to retry retries when the plugin uses retries but has not specified a number of attempts.
DefaultRetryConstantInterval indicates the default interval to use for retries when the plugin uses retries but does not use exponential backoff.
a scenario default.
No description provided by the author
a plugin override.
a plugin default.
a test spec override.
# Variables
BaseSpecFields contains the list of base spec fields for plugin Spec types to use in ignoring unknown fields.
ErrExpectedInt indicates that we did not find an expected integer value.
ErrExpectedMap indicates that we did not find an expected mapping field.
ErrExpectedRetry indicates that the retry specification was not valid.
ErrExpectedScalar indicates that we did not find an expected scalar field.
ErrExpectedScalarOrMap indicates that we did not find an expected scalar or map field.
ErrExpectedScalarOrSequence indicates that we did not find an expected scalar or sequence of scalars field.
ErrExpectedSequence indicates that we did not find an expected scalar field.
ErrExpectedTimeout indicates that the timeout specification was not valid.
ErrExpectedWait indicates that the wait specification was not valid.
ErrFailure is the base error class for all errors that represent failed assertions when evaluating a test.
ErrFileNotFound is returned when a file path does not exist for a create/apply/delete target.
ErrIn is an ErrFailure when a thing unexpectedly appears in an container.
ErrInvalidRetryAttempts indicates that the retry attempts was not positive.
ErrNoneIn is an ErrFailure when none of a list of elements appears in an expected container.
ErrNotEqual is an ErrFailure when an expected thing doesn't equal an observed thing.
ErrNotIn is an ErrFailure when an expected thing doesn't appear in an expected container.
ErrParse indicates a YAML definition is not valid.
ErrRequiredFixture is returned when a required fixture has not been registered with the context.
ErrTimeoutConflict is returned when the Go test tool's timeout conflicts with either a total wait time or a timeout in a scenario or test spec.
ErrTimeoutExceeded is an ErrFailure when a test's execution exceeds a timeout length.
ErrUnexpectedError is an ErrFailure when an unexpected error has occurred.
ErrUnknownField indicates that there was an unknown field in the parsing of a spec or scenario.
ErrUnknownSourceType indicates that a From() function was called with an unknown source parameter type.
ErrUnknownSpec indicates that there was a test spec definition in a YAML file that no plugin could parse.
NoRetry indicates that there should not be any retry attempts.
RuntimeError is the base error class for all errors occurring during runtime (and not during the parsing of a scenario or spec).
# Structs
FlexStrings is a struct used to parse an interface{} that can be either a string or a slice of strings.
PluginInfo contains basic information about the plugin and what type of tests it can handle.
Result is returned from a `Evaluable.Eval` execution.
Retry contains information about the number of attempts and interval duration with which a Plugin should re-run a Spec's action if the Spec's assertions fail.
Spec represents a single test action and one or more assertions about output or behaviour.
Timeout contains information about the duration within which a Spec should run along with whether a deadline exceeded/timeout error should be expected or not.
Timings contains information about a test scenario's maximum wait and timeout duration and what aspect of the scenario (the scenario defaults, a plugin default, a test spec override, etc) had the maximum timeout or wait value.
Wait contains information about the duration within which a Spec should run along with whether a deadline exceeded/timeout error should be expected or not.
# Interfaces
Assertions track zero or more assertions about some result.
Evaluable represents individual test units in a Scenario.
A Fixture allows state to be passed from setups.
Plugin is the driver interface for different types of gdt tests.
Runnable are things that Run a `*testing.T`.
# Type aliases
Defaults are a collection of default configuration values.
No description provided by the author
No description provided by the author