Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalAndCompare ¶
Types ¶
type TestCase ¶
type TestCase struct { Name string Ctx context.Context Request events.APIGatewayProxyRequest *TestResult }
func (TestCase) ResponseEqual ¶
type TestResult ¶
type TestResult struct { ExpectedStatus int ExpectedBodyObject interface{} }
func ExpectError ¶
func ExpectError(status int, msgs ...string) *TestResult
Click to show internal directories.
Click to hide internal directories.