httpmock icon indicating copy to clipboard operation
httpmock copied to clipboard

HTTP mocking for Golang

Results 6 httpmock issues
Sort by recently updated
recently updated
newest added

Hi, thanks for maintaining this awesome http testing library. I am using Resty to make API calls, and their documentation links to this library for mocking Client returns. However, I...

As I can see, there is no way to set upper bound and lower bound of responder invocations, only Once() and exact amount with Times(). What do you think about...

Hi 👋 , Thanks so much for the work on this project! At @Reviewpad, we are trying to support the OSS projects that we use as dependencies to our main...

at the moment table tests and two different tests are not able to be run in parallel mode (with t.Parallel()). Any plans on fixing this?

Thank you for creating a good package. I am using a custom http client. If I write the test code as below, it is working good. ```golang func createHttpClient() *http.Client...

I saw there are `Once` and `Times` method, which looks like check if requests exceed limit. But there won't be any error if requests no reach to that count. Using...