regress

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaterializeLifecycleReceipt added in v1.6.0

MaterializeLifecycleReceipt creates a reference-only runpack; no tool is run.

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 LifecycleReceiptMaterializeOptions added in v1.6.0

type LifecycleReceiptMaterializeOptions struct{ SigningPrivateKey ed25519.PrivateKey }

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