Namespace ProtoTest.Rest

Classes

ProtoExecutionContextExtensions
ProtoHostBuilderExtensions
ProtoRestBuilder
RestAssertions

The status assertions reachable through Should and ShouldNot; the shared facade owns the polarity.

RestCoverageCollector

Aggregates REST calls as route coverage from the client's observations.

RestFailureData

Data payload sent when an HTTP request fails.

RestRequestBuilder
RestResponse
RestResponseData

Data payload sent when an HTTP request/response is recorded.

RestResponseExpectations

The in-call shape expectation for a REST request: await the pending response and match it against the expected shape in one expression, so the shape the test demands is stated where the call is made. It is the same facade assertion response.Should.MatchShape(shape) performs, so there is one shape implementation behind both spellings.

RestShapeMatchData

Data payload sent when a ShapeMatcher validation succeeds/runs.

RestShouldAssertions

The positive assertions of a REST response, reached through Should. Shape is positive-only - a negated shape match has no meaning - so it lives here and not on the shared facade ShouldNot returns. MatchShape(object, JsonSerializerOptions?) returns the response, so assertions chain.

RestTrafficCoverageCollector

Reports the fields that arrived in REST responses but that no shape assertion mentioned, as their own report section. Observed fields are never counted as covered: the section protects the assertion-level coverage rule and shows the fields a passing suite never checked. Register it on a REST target (AddCollector<RestTrafficCoverageCollector>()) to opt in.