Documentation
¶
Overview ¶
Package testutil exposes shared test helpers to SDK tests outside examples, which cannot import examples/internal/testutil directly.
Index ¶
- func CheckFields(t *testing.T, value reflect.Value, path string)
- func FailureContracts(t *testing.T, endpoints []Endpoint, client func(Transport) any)
- func InvokeJSON(t *testing.T, client any, endpoint Endpoint, body json.RawMessage) (any, error)
- func ResourceAlreadyGone(err error) bool
- func SafeError(err error) string
- type CleanupFailure
- type Endpoint
- type Transport
- type TurnResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailureContracts ¶
func InvokeJSON ¶
func ResourceAlreadyGone ¶
Types ¶
type CleanupFailure ¶
type CleanupFailure = shared.CleanupFailure
type TurnResult ¶
type TurnResult = shared.TurnResult
Click to show internal directories.
Click to hide internal directories.