Namespace ProtoTest.Json
Classes
- ProtoShapeAssertion
The one traced shape assertion REST, GraphQL, gRPC and messaging share. It records the
assert.json.shapeoperation with the expected and actual JSON, the matched properties or every mismatch, captures the expected shape when the protocol asks for it, and fails the operation before rethrowing, so the evidence is in the trace even when the test fails.
- ProtoShapeAssertionContext
The context of one traced shape assertion: where it records, under which parent, with which extra attributes, and whether the expected shape is captured as an attachment.