Namespace ProtoTest.Grpc
Classes
- GrpcAssertionException
Represents a failed gRPC assertion.
- GrpcAttachmentOptions
Controls which gRPC request and response messages are automatically attached to a test result. Attachments are serialized to Json with camelCase field names, redacted through the shared ProtoHttpAttachmentOptions rules, and capped at MaxDiagnosticBodyLength. Binds from the inherited ConfigurationSectionName.
- GrpcClientOptions
Per-client gRPC choices: metadata added to every call from the client, the hook that builds per-call metadata, and the default deadline. Values layer from
ProtoTest:Grpcover the code-based registration.
- GrpcCoverageCollector
Aggregates gRPC calls as service/method coverage from the client's observations.
- GrpcShapeMatchData
Shape-match data attached to a
grpc.contract.shapeobservation.
- ProtoGrpcAssertions
Shape and status assertions for gRPC replies, reusing the Json shape matcher the REST and GraphQL integrations use. Protobuf maps to Json with camelCase field names, so an expected anonymous shape reads the same way as elsewhere.
- ProtoGrpcClient
A named gRPC client created during setup by ProtoGrpcClientInitializer. Every call is traced as a
grpc.calloperation with request/response sections and sanitized metadata, applies the test's[Auth]authenticators to the call metadata, and reports agrpc.responseobservation so coverage collectors can aggregate it.