Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerWithQuery ¶ added in v2.3.0
ServerWithQuery starts a server that hands each request to the mock server with the given query params set, and returns its URL to pass as `--base-url`. The mock server needs them to tell two operations with the same path apart.
func TestRunMockTestWithFlags ¶
TestRunMockTestWithFlags runs a test against a mock server with the provided CLI args and ensures it succeeds
Types ¶
type OnlyMockServerDialer ¶
type OnlyMockServerDialer struct{}
OnlyMockServerDialer only allows network connections to the mock server
func (*OnlyMockServerDialer) DialContext ¶
Click to show internal directories.
Click to hide internal directories.