Documentation ¶
Overview ¶
Package wiremock does HTTP protocol stubbing using WireMock (https://wiremock.org/)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Get = wiremock.Get Post = wiremock.Post URLPathEqualTo = wiremock.URLPathEqualTo MatchingJsonPath = wiremock.MatchingJsonPath NewResponse = wiremock.NewResponse )
Functions ¶
func AddStepsTo ¶
func AddStepsTo(sc *godog.ScenarioContext)
AddStepsTo makes sure that nay unmatched requests, i.e. requests that are not stubbed get reported at the end of a scenario run TODO: reset stub state after the scenario (given not persisted flag is set)
func StartWiremock ¶
StartWiremock starts the WireMock instance if one is not already running
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.