Skip to content

Releases: dankinder/httpmock

Trim dependencies

11 Jan 18:53

Choose a tag to compare

Remove accidental use of gotest.tools instead of testify for asserts in the tests.

Improved use of testify/mock

27 Oct 21:44
a21e0d3

Choose a tag to compare

Adds a new constructor so that testify/mock objects have the t object set on them, ensuring that if a server receives unexpected calls that it doesn't merely panic, but also fails the test.

Added Header Support

23 Dec 16:40
bf765af

Choose a tag to compare

NewServer will now detect if the argument supports a HandleWithHeaders call, and calls that instead of Handle if it does.

Added go module support

03 May 23:26

Choose a tag to compare

v1.0.1

Added go.mod/go.sum

Initial release

15 Feb 18:09
3d90f37

Choose a tag to compare

v1.0.0

Update README.md