MockHttp
API MockingAPI Development & Testing

MockHttp

Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.

Open Source

About

MockHttp serves as a testing layer for Microsoft's HttpClient library, enabling developers to configure stubbed responses for matched HTTP requests. It defines a replacement `HttpMessageHandler` that utilizes a fluent API for response configuration, allowing for seamless integration into an application's service layer. This tool is particularly useful for testing scenarios where no actual network connection is required.

Open Source Health

Not enough history
Stars
1,761
Forks
90
License
MIT
Last commit
2 months ago
C#

Related Categories