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.
Click to show internal directories.
Click to hide internal directories.