Repository navigation
Context support
This release introduces a breaking change to the API as well as some bug fixes and general cleanup:
-
All mountebank client methods now take a
context.Contextvalue as their first argument. -
Updated the type for HTTP request headers and query parameters to use the
http.Headerandurl.Valuestypes, respectively. This will make things more idiomatic by working with stdlib types, but also addresses a JSON un-marshaling bug when more than one value was provided per key on either structure. -
Cleaned up the godocs in various places.
-
Added new function to the internal assertion library, updated testing in some spots.