Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Endpoint ¶
func Endpoint(t *testing.T, router *routing.Router, tc APITestCase)
Endpoint tests an HTTP endpoint using the given APITestCase spec.
func MockRouter ¶
MockRouter creates a routing.Router for testing APIs.
func MockRoutingContext ¶
MockRoutingContext creates a routing.Conext for testing handlers.
Types ¶
Click to show internal directories.
Click to hide internal directories.