mocking-microcks-dotnet

Default .NET adapter: mocks a downstream dependency from its OpenAPI/examples contract via a MicrocksContainerEnsemble, and wires the SUT’s client at the mock endpoint.

When to use

Entry contract

Exit contract

Invariants

Why this shape

A Microcks container replays the downstream’s published contract examples as a live mock, ensuring the SUT’s client serialization and routing match what the contract specifies — without coupling to a real live service.

« Consumer-driven contracts let the consumer specify what it needs from a provider. » — Newman, S., Building Microservices, 2nd ed., 2021.

Allowed customisation

See also