Versions in this module Expand all Collapse all v1 v1.0.0 Aug 30, 2026 v0 v0.11.1 Aug 22, 2026 v0.11.0 Aug 22, 2026 Changes in this version type CapabilitiesIdentity + Driver string v0.10.1 Aug 20, 2026 v0.10.0 Aug 19, 2026 Changes in this version + const CategoryBehavior + const CategoryProtocol + const CategoryShutdown + const CategorySpawn + const CategoryTimeout + const EvidenceSchema + const EvidenceVersion + func ContractDigest(src source) (string, error) + type CapabilitiesIdentity struct + Display string + Name string + type Case struct + Name string + Run func(child *Child, until time.Time) error + type CaseError struct + Category string + Message string + func (e *CaseError) Error() string + type Child struct + func (c *Child) Close() error + func (c *Child) CloseInput() error + func (c *Child) ExitStatus() int + func (c *Child) Expect(until time.Time) (Frame, error) + func (c *Child) ExpectExit(until time.Time) error + func (c *Child) ExpectQuiet(until time.Time, quiet time.Duration) error + func (c *Child) ExpectSilent(until time.Time, quiet time.Duration) error + func (c *Child) SendBatch(frames ...[]byte) error + func (c *Child) SendFixture(frame []byte) error + func (c *Child) SendRaw(frame []byte) error + type Document struct + Capabilities *CapabilitiesIdentity + Cases []Result + ContractSHA256 string + Entry string + Error string + EvidenceSchema string + EvidenceVersion int + ExecutableSHA256 string + Failed int + HostVersion string + OK bool + Passed int + Path string + ProtocolVersion int + func NewDocument(entry string) (Document, error) + type Engine struct + Quiet time.Duration + Timeout time.Duration + func New() (*Engine, error) + func NewFrom(src source) (*Engine, error) + func (e *Engine) Test(ctx context.Context, entry, path string) Document + type ErrorData struct + Code int + Data json.RawMessage + Message string + type Frame struct + Error *ErrorData + HasID bool + ID uint64 + Result json.RawMessage + type Result struct + Category string + Duration time.Duration + Error string + Name string + OK bool + Stderr []string