plugintest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(t testing.TB, plugin config.Plugin)

Check validates the common plugin contract. It is intentionally a smoke test: it exercises Init and verifies contributed registry entries have stable, non-empty names without starting the full plums runtime.

func CheckPlugin

func CheckPlugin(plugin config.Plugin) []error

func Run

func Run(plugin config.Plugin) int

Run is the command-line form of CheckPlugin. It returns 0 when the plugin passes and 1 when any contract check fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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