conformance

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package conformance checks a plugin speaks rig/1: what every plugin must do, and what each capability it declares promises. `rig plugin test` and the SDKs' tests run it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// Wait bounds every call; zero is 5s.
	Wait time.Duration
	Tap  func(dir byte, line []byte)
}

type Result

type Result struct {
	Check string
	Err   error
}

func Run

func Run(cmd *exec.Cmd, opts Options) ([]Result, error)

Run starts the plugin from cmd, runs every check that applies and shuts it down.

Jump to

Keyboard shortcuts

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