Documentation ¶
Overview ¶
Package test contains test util functions for goproxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPTestMethod ¶
HTTPTestMethod reports error http.Request does not return want string.
func NewFakeGoproxy ¶
NewFakeGoproxy sets up a test HTTP server along with a github.Client that is configured to talk to that test server. Tests should register handlers on mux which provide mock responses for the API method being tested.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.