Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestServer ¶
TestServer represents a test HTTP server along with a github.Client and Mux
func NewTestServer ¶
func NewTestServer() *TestServer
NewTestServer 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.
Click to show internal directories.
Click to hide internal directories.