Versions in this module Expand all Collapse all v4 v4.27.1 May 31, 2024 v4.27.0 May 31, 2024 Changes in this version + func CliCommand() *cli.Command + func GetPathPair(fullPath, testSuffix string) (configPath, definitionPath string) + func GetTestTargets(targetPaths []string, testSuffix string) (map[string][]test.Case, error) + func OptAddResourcesPaths(paths []string) func(*ProcessorsProvider) + func OptProcessorsProviderSetLogger(logger log.Modular) func(*ProcessorsProvider) + func RunAll(paths []string, testSuffix string, lint bool, logger log.Modular, ...) bool + type CaseFailure struct + Name string + Reason string + TestLine int + func Execute(cases []test.Case, testFilePath string, resourcesPaths []string, ...) ([]CaseFailure, error) + func ExecuteFrom(fs fs.FS, dir string, c test.Case, provider ProcProvider) (failures []CaseFailure, err error) + func (c CaseFailure) String() string + type ProcProvider interface + Provide func(jsonPtr string, environment map[string]string, mocks map[string]any) ([]iprocessor.V1, error) + ProvideBloblang func(path string) ([]iprocessor.V1, error) + type ProcessorsProvider struct + func NewProcessorsProvider(targetPath string, opts ...func(*ProcessorsProvider)) *ProcessorsProvider + func (p *ProcessorsProvider) Provide(jsonPtr string, environment map[string]string, mocks map[string]any) ([]processor.V1, error) + func (p *ProcessorsProvider) ProvideBloblang(pathStr string) ([]processor.V1, error)