Namespace XBullet.EasyTesting.Snapshots

Classes

ControllerBinaryBodySnapshot

A binary response body encoded for a text snapshot file.

ControllerRequestSnapshot

The request context associated with a controller response snapshot.

ControllerResponseSnapshot

A stable representation of an HTTP controller response for snapshot assertions.

ControllerSnapshotOptions

Controls which HTTP response details are included in a controller snapshot.

ControllerSnapshotOptionsDefaults

Stores reusable controller snapshot options as a template. Each controller snapshot receives an independent copy, and explicitly supplied options are merged into the global template.

HttpExchangeFailureSnapshot

A stable representation of a failure that prevented an HTTP response.

HttpExchangeRecorder

Records HTTP exchanges without replacing the underlying transport. Add this handler to a real or in-memory client pipeline to snapshot requests, responses, and send failures. The owning HttpClient or caller remains responsible for disposing the handler.

HttpExchangeRequestSnapshot

A stable representation of the request in an HTTP exchange.

HttpExchangeRequestSnapshotOptions

Controls which HTTP request details are included in an exchange snapshot.

HttpExchangeResponseSnapshot

A stable representation of the response in an HTTP exchange.

HttpExchangeResponseSnapshotOptions

Controls which HTTP response details are included in an exchange snapshot.

HttpExchangeSnapshot

A stable representation of an HTTP request/response exchange.

HttpExchangeSnapshotOptions

Controls the request and response portions of an HTTP exchange snapshot.

HttpExchangeSnapshotOptionsDefaults

Stores reusable HTTP exchange snapshot options as a template. Each exchange snapshot receives an independent copy, and explicitly supplied options are merged into the global template.

HttpResponseSnapshotExtensions

Built-in snapshot assertions for controller responses.

SnapshotAssert

Framework-independent file snapshot assertions.

SnapshotCatalog

Tracks snapshots observed during an explicit test run and identifies verified files that were not exercised. Keep one catalog for the test scope whose snapshots should be audited.

SnapshotDiffTool

Describes an external application used to compare verified and received snapshots.

SnapshotLocationContext

Describes the calling test when resolving a snapshot directory.

SnapshotMaintenance

Provides explicit preview-and-confirm operations for snapshot maintenance.

SnapshotMismatchException

Thrown when a received snapshot has no approved file or differs from it.

SnapshotSettings

Controls snapshot naming, storage, serialization, and scrubbing.

SnapshotSettingsDefaults

Stores reusable snapshot settings as a template. Each call creates an independent settings object, avoiding cross-test interference even when the template is configured globally.

StubHttpExchangeSnapshot

A stable representation of one captured outbound HTTP exchange.

StubHttpExchangeSnapshotExtensions

Snapshot assertions for captured outbound HTTP exchanges.

StubHttpExchangeSnapshotOptions

Options for request and response portions of an outbound exchange snapshot.

StubHttpFailureSnapshot

A stable exception description captured in an exchange snapshot.

StubHttpRequestSnapshot

A stable representation of one captured outbound HTTP request.

StubHttpRequestSnapshotExtensions

Snapshot assertions for captured outbound HTTP requests.

StubHttpRequestSnapshotOptions

Controls which outbound HTTP request details are included in snapshots.

StubHttpResponseSnapshot

A stable representation of one captured outbound HTTP response.

StubHttpResponseSnapshotOptions

Controls which outbound HTTP response details are included in exchange snapshots.

Enums

HttpExchangeSnapshotFormat

Selects the committed file format for complete HTTP exchange snapshots.

SnapshotUpdateMode

Controls when received snapshots are automatically promoted to verified snapshots.