How to Mock HttpRequestData for Unit Testing in Azure Functions
It turns out that unit testing Azure Function Http Triggers is not straightforward. In particular, isolated functions that use the Built-in HTTP model. The built-in model passes HttpRequestData to the Run method and returns a HttpResponseData object....
unstacked.hashnode.dev3 min read