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
View Source
var MatchingJsonPath = wiremock.MatchingJsonPath
View Source
var NewResponse = wiremock.NewResponse
View Source
var Post = wiremock.Post
View Source
var URLPathEqualTo = wiremock.URLPathEqualTo
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.