UnitTestEx provides .NET testing extensions to the most popular testing frameworks (MSTest, NUnit and Xunit) specifically to improve the testing experience with ASP.NET controller, and Azure Function, execution including underlying HttpClientFactory mocking.
Enhancement: A new MockHttpClient.WithRequestsFromResource method enables the specification of the Request/Response configuration from a YAML/JSON embedded resource. The mock.unittestex.json JSON schema defines content.
MockHttpClient.WithRequestsFromResource
method enables the specification of the Request/Response configuration from a YAML/JSON embedded resource. Themock.unittestex.json
JSON schema defines content.