Documentation
¶
Index ¶
- func CheckAnswerWires(t *testing.T, path, scenario, provider string)
- func CheckFaultControlOrder(t *testing.T, path, provider string, want []string)
- func CountAnswers(t *testing.T, path, provider string) int
- func CountFrames(t *testing.T, path, method string) int
- func Deadline(t *testing.T) context.Context
- func Marshal(t *testing.T, v any) []byte
- func ObservedWire(t *testing.T, b []byte) map[string]any
- func PeerFrames(t *testing.T, path string) []json.RawMessage
- func Wait(t *testing.T, ctx context.Context, ch <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAnswerWires ¶
func CheckFaultControlOrder ¶
Compare complete native input/answer order from peer-observed bytes. Detached trace facts cannot create an answer handle or hide an extra control/retry.
func PeerFrames ¶
func PeerFrames(t *testing.T, path string) []json.RawMessage
Trace reads only bytes the native peer actually received. Assertions never read private Session membership, queue length, or permission registry state.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
replay
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0 |
|
replay
SDK-specific fixtures and process adapters; native protocol matching belongs to the tool.
|
SDK-specific fixtures and process adapters; native protocol matching belongs to the tool. |
|
Package mocktest bridges Go SDK fixture assertions to the in-process Replay library.
|
Package mocktest bridges Go SDK fixture assertions to the in-process Replay library. |
|
Package testutil locates the repository root and prepares the installed tool used by process-boundary tests.
|
Package testutil locates the repository root and prepares the installed tool used by process-boundary tests. |
|
builtintest
Package builtintest reads builtin recordings for installed CLI checks.
|
Package builtintest reads builtin recordings for installed CLI checks. |