Versions in this module Expand all Collapse all v0 v0.8.1 Sep 17, 2026 v0.8.0 Sep 14, 2026 Changes in this version + const BaselinePath + const DefaultRoot + const DocumentEnv + const LogAttribute + const MaxSteps + const Meaning + const PinPath + const RequireEnv + const SHA256Env + const SuiteFile + const URLEnv + const VersionEnv + var Buckets = []Bucket + var DefaultBudget = runtime.DefaultExploreBudget + var ErrSuiteAbsent = errors.New("PSSM test suite is absent") + var Rows = map[string]Row + var TestRows = map[string]string + func Digest(path string) (string, error) + func Locate(root string) (string, error) + func Reproduces(committed, fresh *Report) error + func Required() bool + func Validate(m *Model) []string + func WriteBaseline(path string, r *Report) error + type Argument struct + Name string + Value *Literal + type Attribute struct + Default *Literal + Name string + Type string + type Behavior struct + Body *Body + ID string + Name string + Opaque *OpaqueText + Params []Param + Source string + Type string + type Body struct + Statements []Statement + Unsupported []string + func (b *Body) Empty() bool + type Bucket string + const BucketDiffersByDesign + const BucketFail + const BucketNotExpressible + const BucketPass + const BucketTerminateGap + type Class struct + Activity *Behavior + Attributes []Attribute + Behaviors []*Behavior + Generals []string + ID string + Machine *StateMachine + Name string + Operations []*Operation + Standalone bool + type Classification struct + Class Expressibility + Uses []Use + func Classify(t *Test) Classification + func (c Classification) Reason() string + type Construct string + const ConstructBehaviorParameter + const ConstructChoice + const ConstructConnectionPoint + const ConstructDeepHistory + const ConstructDefer + const ConstructEntryPoint + const ConstructExitPoint + const ConstructExtendedRegion + const ConstructFork + const ConstructForkedRegionNoEntry + const ConstructInternalTransition + const ConstructJoin + const ConstructJunction + const ConstructLocalTransition + const ConstructNoMachine + const ConstructOperationResult + const ConstructRedefinedMachine + const ConstructRedefinedState + const ConstructRedefinedTransition + const ConstructShallowHistory + const ConstructStandalone + const ConstructStrayConnectionPoint + const ConstructSubmachine + const ConstructTerminate + const ConstructTesterTrace + const ConstructUnknownVertex + func (c Construct) Ours() bool + type Constructs map[string]bool + func (c Constructs) Sorted() []string + type Diagnostic struct + Element string + Message string + func (d Diagnostic) String() string + type Document struct + Root *Element + func Parse(r io.Reader) (*Document, error) + func (d *Document) ByID(id string) *Element + type Element struct + Attrs map[string]string + Children []*Element + ID string + Line int + Parent *Element + Tag string + Text string + Type string + func (e *Element) Attr(name string) string + func (e *Element) Descendants() []*Element + func (e *Element) Describe() string + func (e *Element) First(tag string) *Element + func (e *Element) Href() string + func (e *Element) Name() string + func (e *Element) Ref(name string) string + func (e *Element) Refs(name string) []string + func (e *Element) Tagged(tag string) []*Element + func (e *Element) Walk(fn func(*Element) bool) + type Event struct + Kind EventKind + Operation *Operation + Signal *Signal + Type string + func (e *Event) Describe() string + type EventKind int + const EventCall + const EventOther + const EventSignal + type Execution struct + Complete bool + Errors []string + Extra []string + Missing []string + Reached []string + Runs int + Status string + func Execute(stop context.Context, m *Model, expected []string, ...) (*Execution, error) + func (x *Execution) Passed() bool + func (x *Execution) Reasons() []string + type Expr struct + Args []Expr + Kind ExprKind + Literal *Literal + Name string + Object *Expr + Text string + func (e Expr) String() string + type ExprKind int + const ExprApply + const ExprCall + const ExprEvent + const ExprLiteral + const ExprNew + const ExprParam + const ExprRead + const ExprSelf + const ExprUnknown + type Expressibility int + const Extension + const NotExpressible + const Standard + const TerminateGap + func (c Expressibility) Expressible() bool + func (c Expressibility) String() string + type Guard struct + Behavior *Behavior + Kind GuardKind + Literal bool + Name string + Opaque *OpaqueText + Type string + func (g *Guard) Describe() string + type GuardKind int + const GuardElse + const GuardLiteral + const GuardOpaque + const GuardOther + type Literal struct + Kind LiteralKind + Present bool + Text string + func (l *Literal) Bool() bool + func (l *Literal) String() string + type LiteralKind int + const LiteralBoolean + const LiteralInteger + const LiteralNull + const LiteralReal + const LiteralString + const LiteralUnlimitedNatural + type Model struct + Events []Stimulus + Machine string + Name string + Package string + Qualified string + Test *Test + Text string + func Emit(s *Suite, t *Test) (*Model, error) + type OpaqueText struct + Body string + Language string + type Operation struct + ID string + Method *Behavior + Name string + Params []Param + type Options struct + Budget runtime.ExploreBudget + Filter string + Jobs int + Keep string + type Param struct + Direction string + Name string + Type string + type Pin struct + Document string + SHA256 string + URL string + Version string + func ReadPin(repo string) (Pin, error) + func (p Pin) Provenance(tests int) Provenance + func (p Pin) Verify(suitePath string) error + type Provenance struct + Develop string + Digest string + Document string + Recorded string + Tests int + URL string + Version string + type Region struct + Comments []string + ExtendedRegion string + ID string + Name string + Transitions []*Transition + Vertices []*Vertex + func (r *Region) Owner() *Vertex + type Report struct + Buckets map[Bucket]int + Meaning string + Provenance Provenance + Tests []TestReport + func ReadBaseline(path string) (*Report, error) + func Referee(stop context.Context, s *Suite, prov Provenance, opts Options) (*Report, error) + func (r *Report) Encode() ([]byte, error) + func (r *Report) Summary() string + type Row struct + ID string + Kind RowKind + Title string + func RowOf(test string) (Row, bool) + type RowKind string + const RowDiffersByDesign + const RowToolChoice + type Signal struct + Attributes []Attribute + ID string + Name string + type StateMachine struct + ConnectionPoints []*Vertex + ID string + Name string + Owner string + Redefines string + Regions []*Region + type Statement struct + Args []Expr + Events []*Event + Feature string + Kind StatementKind + Name string + Receiver *Expr + Replace bool + Result string + Value *Expr + func (s Statement) String() string + type StatementKind int + const StmtAccept + const StmtAssign + const StmtCall + const StmtReturn + const StmtSend + const StmtStart + type Stimulus struct + Args []Argument + Call string + Signal string + Value *Literal + func (s Stimulus) String() string + type Suite struct + Diagnostics []Diagnostic + Signals map[string]*Signal + Tests []*Test + func Read(src io.Reader) (*Suite, error) + func ReadDocument(doc *Document) (*Suite, error) + func ReadFile(path string) (*Suite, error) + func (s *Suite) Areas() []string + func (s *Suite) Problems() []string + type Test struct + Area string + Diagnostics []Diagnostic + Expected []string + ID string + Machine *StateMachine + Name string + Notes []string + Stimulation *Body + Target *Class + Tester *Class + type TestReport struct + Area string + Bucket Bucket + Class string + Expected []string + Name string + Reached []string + Reasons []string + Row string + RowKind string + Runs int + type Transition struct + Effect *Behavior + Guard *Guard + ID string + Kind TransitionKind + Name string + Redefines string + Region *Region + Source *Vertex + Target *Vertex + Triggers []*Trigger + func (t *Transition) Describe() string + type TransitionKind int + const TransitionExternal + const TransitionInternal + const TransitionLocal + func (k TransitionKind) String() string + type TranslateError struct + Reason string + Test string + Where string + func (e *TranslateError) Error() string + type Trigger struct + Event *Event + Name string + type Use struct + Construct Construct + Where string + func (u Use) String() string + type Vertex struct + Comments []string + ConnectionPointReferences int + ConnectionPoints []*Vertex + Deferred []*Trigger + Do *Behavior + Entry *Behavior + Exit *Behavior + ID string + Kind VertexKind + Name string + Redefines string + Region *Region + Regions []*Region + Submachine string + func (v *Vertex) Describe() string + func (v *Vertex) Path() string + type VertexKind int + const VertexChoice + const VertexDeepHistory + const VertexEntryPoint + const VertexExitPoint + const VertexFinal + const VertexFork + const VertexInitial + const VertexJoin + const VertexJunction + const VertexShallowHistory + const VertexState + const VertexTerminate + const VertexUnknown + func (k VertexKind) IsPseudostate() bool + func (k VertexKind) String() string