Versions in this module Expand all Collapse all v0 v0.14.0 Nov 17, 2026 v0.13.0 Nov 9, 2026 v0.12.0 Nov 3, 2026 Changes in this version + const ReportContractVersion + const RuntimeGo + type Attempt struct + Number int + Report Report + type Check struct + Command []string + Framework testrunner.Framework + ID string + Kind testrunner.Kind + Name string + type CommandResult struct + ExitCode int + Stderr string + Stdout string + type Event struct + CheckID string + CheckName string + Command []string + Contract string + DurationMs int + EndedAt string + Error string + ExitCode int + Framework testrunner.Framework + Kind testrunner.Kind + OK bool + OutputSummary *OutputSummary + Root string + Runtime string + StartedAt string + Status Status + Summary Summary + TestSummary *testrunner.Summary + Type EventType + func EventsFromReport(report Report) []Event + type EventType string + const EventCheckFinished + const EventVerifyFinished + const EventVerifyStarted + type LoopOptions struct + MaxAttempts int + OnFailure func(context.Context, Attempt) error + type LoopReport struct + Attempts []Attempt + EndedAt string + Error string + OK bool + StartedAt string + Summary Summary + type OutputSummary struct + Lines []string + Truncated bool + type Plan struct + Checks []Check + Root string + func DetectPlan(root string) (Plan, error) + type Report struct + EndedAt string + OK bool + Results []Result + Root string + StartedAt string + Summary Summary + func Run(ctx context.Context, plan Plan, options RunOptions) Report + type ReportSnapshot struct + Contract string + EndedAt string + Events []Event + OK bool + Results []ResultSnapshot + Root string + Runtime string + StartedAt string + Summary Summary + func SnapshotFromReport(report Report) ReportSnapshot + type Result struct + Command []string + DurationMs int + EndedAt string + Error string + ExitCode int + Framework testrunner.Framework + ID string + Kind testrunner.Kind + Name string + OutputSummary *OutputSummary + StartedAt string + Status Status + Stderr string + Stdout string + TestSummary *testrunner.Summary + type ResultSnapshot struct + Command []string + DurationMs int + EndedAt string + Error string + ExitCode int + Framework testrunner.Framework + ID string + Kind testrunner.Kind + Name string + OutputSummary *OutputSummary + StartedAt string + Status Status + Stderr string + Stdout string + TestSummary *testrunner.Summary + func SnapshotFromResult(result Result) ResultSnapshot + type RunOptions struct + Now func() time.Time + Only []string + Runner Runner + TimeoutMS int + type Runner func(context.Context, string, []string, time.Duration) (CommandResult, error) + type Status string + const StatusError + const StatusFail + const StatusPass + type Summary struct + Errors int + Failed int + Passed int + Total int