Releases: pablocom/HttpFake
v2.0.2
v2.0.1
Upgrades to .NET 8
Full Changelog: v1.0.1...v2.0.1
v1.0.1
HttpFake 1.0.1
This is the first release of the HttpFake library, an invaluable tool for the testing of ASP.NET Core applications. It has been designed to intercept and provide custom responses for HttpClient requests, removing the need for actual network requests during your integration tests.
Key features included in this release:
-
HttpClient Request Interception: The core feature of HttpFake, allowing you to intercept and manipulate outgoing HttpClient requests from your application.
-
Response Configuration: Use the provided
ConfiguredResponseBuilderto easily create and configure HTTP responses that are returned when your defined requests are intercepted. -
Integration with Microsoft.AspNetCore.Mvc.Testing: HttpFake seamlessly integrates with the Microsoft.AspNetCore.Mvc.Testing library, making it an ideal companion for writing robust integration tests.
-
Request Assertions: HttpFake also provides the ability to assert sent HTTP requests, aiding in validation of your application's outgoing requests.
We encourage you to integrate HttpFake into your testing framework and see the benefits for yourself. Feel free to provide any feedback or contribute to the project.
Happy testing!
How to get it
You can install HttpFake via NuGet package manager:
Install-Package HttpFakeDocumentation
For more detailed usage examples and information, check out the README in our GitHub repository.