Versions in this module Expand all Collapse all v0 v0.1.0 Nov 19, 2026 Changes in this version + func InstantRetries(t *testing.T) + func JSON(t *testing.T, w http.ResponseWriter, v any) + func NewServer(t *testing.T) (mux *http.ServeMux, spec client.Spec) + func Sync(t *testing.T, spec client.Spec, table *schema.Table, cfg SyncConfig) (map[string][]map[string]any, []string) + func SyncTable(t *testing.T, spec client.Spec, table *schema.Table) map[string][]map[string]any + func SyncTableWithState(t *testing.T, spec client.Spec, table *schema.Table, st state.Client) map[string][]map[string]any + func SyncTableWithStateErrors(t *testing.T, spec client.Spec, table *schema.Table, st state.Client) (map[string][]map[string]any, []string) + func WithApp(t *testing.T, mux *http.ServeMux, spec client.Spec, org string) client.Spec + type MemState struct + func NewMemState() *MemState + func (*MemState) Close() error + func (m *MemState) Flush(context.Context) error + func (m *MemState) Flushes() int + func (m *MemState) GetKey(_ context.Context, key string) (string, error) + func (m *MemState) SetKey(_ context.Context, key, value string) error + func (m *MemState) Value(key string) string + type SyncConfig struct + Ctx context.Context + Logs io.Writer + State state.Client + Store *client.StateStore