package
0.8.32
Repository: https://github.com/comcast/plax.git
Documentation: pkg.go.dev

# Functions

MakePlugin create the plugin.
NewCtx builds a new Ctx.
NewTestRun makes a new TestRun with the given TestRunParams.

# Constants

PluginDefDirKey of the PluginDef map.
PluginDefEmitJSONKey of the PluginDef map.
PluginDefFilenameKey of the PluginDef map.
PluginDefIncludeDirsKey of the PluginDef map.
PluginDefLabelsKey of the PluginDef map.
PluginDefListKey of the PluginDef map.
PluginDefLogLevelKey of the PluginDef map.
PluginDefNameKey of the PluginDef map.
PluginDefNonzeroOnAnyErrorKey of the PluginDef map.
PluginDefParamsKey of the PluginDef map.
PluginDefPriorityKey of the PluginDef map.
PluginDefEmitRedactKey = "EmitJSON".
PluginDefRetryKey of the PluginDef map.
PluginDefSeedKey of the PluginDef map.
PluginDefTestsKey of the PluginDef map.
PluginDefVerboseKey of the PluginDef map.

# Variables

DefaultPluginModule to load; "There can be only one!".
ThePluginRegistry is the global, well-know registry of supported plax Plugin types.

# Structs

Ctx is the context type.
TestConstraints used to constrain the tests run.
TestDef is a test file or suite (directory).
TestDefRef references a TestDef with its constraints.
TestGroup is a set of grouped tests or nested groups.
TestGroupRef references a group by name.
TestGuard for guarding tests, groups, or iterations.
TestIterate is used to iterate over a collection and invoke the test suite or test file multiple times.
TestIterateBindings is the bindings for an iteration.
TestParamBinding binds a value to a parameter via a command.
TestReportPlugin to execute the report.
TestRun is the top-level type for a test run.
TestRunParams used to exec a TestRun.
TestSuiteRef reference.

# Interfaces

Plugin interface of invoking plax.
PluginOpts represents generic data that is given to a plugin.

# Type aliases

IncludeDirList are the directories to search when YAML-including.
PluginDef map.
PluginMaker is the signature for a Plugin constructor.
PluginModule identifies the plax plugin by module name.
PluginRegistry maps a PluginModule to a constructor for that type of Plugin.
TestDefMap is a map of TestDefs.
TestDefRefList is a list of TestDefRefs.
TestGroupList are the test groups to execute We make an explicit type to enable flag.Var to parse multiple parameters.
TestGroupMap is a map of TestGroups.
TestGroupRefList is a list of TestGroupRefs.
TestIterateBindingsList is a list of test iteration bindings.
TestList are the individual tests to execute We make an explicit type to enable flag.Var to parse multiple parameters.
TestParamBindingMap is a map of TestParamBinding.
TestParamDependency name.
TestParamDependencyList parameter dependency list.
TestParamEnvMap type.
TestParamMap of parameter keys to non substituted parameter values.
TestReportPluginMap dsl for mpa of TestReportPlugins.