ginkgo

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchFieldErrorOnName

func MatchFieldErrorOnName(fieldName string) types.GomegaMatcher

func MatchHttpBodyAsJson

func MatchHttpBodyAsJson(json interface{}) GomegaMatcher

Matches the JSON body of HTTP response, the type of tested value could be:

*http.Response
*testing/http.ResponseResult
*h2non/gentleman.Response

func MatchHttpStatus

func MatchHttpStatus(status int) GomegaMatcher

Matches the status of HTTP response, the type of tested value could be:

*http.Response
*testing/http.ResponseResult
*h2non/gentleman.Response

func MatchJson

func MatchJson(v interface{}) GomegaMatcher

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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