test

package
v0.0.0-...-32392be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectedResponse

type ExpectedResponse struct {
	StatusCode int
	Body       interface{}
}

type GofusTestKit

type GofusTestKit struct {
	// contains filtered or unexported fields
}

func NewGofusTestKit

func NewGofusTestKit() GofusTestKit

func (*GofusTestKit) AssertGetRequest

func (g *GofusTestKit) AssertGetRequest(t *testing.T, path string, expectedResponse ExpectedResponse)

func (*GofusTestKit) AssertPatchRequest

func (g *GofusTestKit) AssertPatchRequest(t *testing.T, path string, body interface{}, expectedResponse ExpectedResponse)

func (*GofusTestKit) AssertPostRequest

func (g *GofusTestKit) AssertPostRequest(t *testing.T, path string, body interface{}, expectedResponse ExpectedResponse)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL