Documentation
¶
Index ¶
- func CallAPI(method, url string, headers map[string]string, reqBody interface{}, ...) (*http.Response, error)
- func Harness(serviceRequests []gkBoot.ServiceRequest, bootOption []config.GkBootOption, ...)
- func ReadResponseBody(response *http.Response, respObj interface{}) error
- type Cache
- type TestRunners
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Harness ¶
func Harness( serviceRequests []gkBoot.ServiceRequest, bootOption []config.GkBootOption, runners TestRunners, t *testing.T, )
func ReadResponseBody ¶
Types ¶
type TestRunners ¶
func NewTestRunner ¶
func NewTestRunner() TestRunners
func (TestRunners) Test ¶
func (r TestRunners) Test(name string, test func(subT *testing.T)) TestRunners
Click to show internal directories.
Click to hide internal directories.