Skip to main content
repost-client-test provides StubTransport, a recording, no-network transport. Install it with .transport(...), enqueue responses, send, and assert on the recorded request. The Authorization header is stripped from recordings; the idempotency key travels as the Idempotency-Key header:
Add repost-client-test in test scope. The module also ships enqueueFailure, enqueuePending for deferred completion, a RecordingObserver, a NoNetworkGuard, and deterministic clocks and generators for reproducible tests.

Continue

Frameworks

Spring Boot, Jakarta CDI, and the framework-neutral core pattern.

Reliability

The delivery states and error codes to exercise in your tests.

HTTP API

The endpoint and retry rules the stub transport stands in for.