varianztest package in the SDK module — no separate install:
vt.NewSession(t, endpoint) registers cleanup with t — stages are removed and the session destroyed when the test ends. Run go test with the standard environment (VARIANZ_ENABLED=true, and VARIANZ_INSECURE_ALLOW_PLAINTEXT=true for a plaintext local registry).
Stage examples
args follow the Go SDK’s field-naming rules — BasePrice is args.base_price unless tagged otherwise.
Session API
Sample assertions
HasValue takes a dot path into the sampled value ("" for the value itself); Samples() on the assertion returns the collected raw samples when you need custom checks.
