Documentation ¶
Overview ¶
Package apitest provides utilities to test api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(a interface{}, b interface{}) string
Diff which handles Record comparison in sorted order
func MarshalFile ¶
func TestSource ¶
func TestSource(t *testing.T, tt *TestSourceConfig)
TestSource compares the result of converting a given struct to api.Records
func UnmarshalFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.