commandruntest

package
v0.142.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package commandruntest provides transport-neutral contract tests for go-admin command-run transport implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTransportContract

func RunTransportContract(t *testing.T, factory TransportFactory)

RunTransportContract exercises provider-neutral fanout, cloning, scope, readiness, cancellation, and subscription ownership semantics.

func ValidUpdate

func ValidUpdate(runID string, revision uint64) admin.CommandRunUpdate

ValidUpdate returns one valid isolated fixture for adapter tests.

Types

type TransportFactory

type TransportFactory func(testing.TB) admin.CommandRunTransport

TransportFactory creates a fresh transport for one contract subtest.

Jump to

Keyboard shortcuts

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