regress

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixtureContext

type FixtureContext struct {
	Fixture fixtureSpec
}

type Grader

type Grader interface {
	Name() string
	Deterministic() bool
	Grade(ctx FixtureContext) (schemaregress.GraderResult, error)
}

type InitOptions

type InitOptions struct {
	SourceRunpackPath string
	SessionChainPath  string
	CheckpointRef     string
	FixtureName       string
	WorkDir           string
}

type InitResult

type InitResult struct {
	RunID        string
	FixtureName  string
	FixtureDir   string
	RunpackPath  string
	ConfigPath   string
	NextCommands []string
}

func InitFixture

func InitFixture(opts InitOptions) (InitResult, error)

type RunOptions

type RunOptions struct {
	ConfigPath               string
	OutputPath               string
	JUnitPath                string
	WorkDir                  string
	ProducerVersion          string
	AllowNondeterministic    bool
	ContextConformance       bool
	AllowContextRuntimeDrift bool
}

type RunResult

type RunResult struct {
	Result        schemaregress.RegressResult
	OutputPath    string
	JUnitPath     string
	FailedGraders int
}

func Run

func Run(opts RunOptions) (RunResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL