Documentation ¶
Index ¶
- func Contains(expression string, expected interface{}) apitest.Matcher
- func Equal(expression string, expected interface{}) apitest.Matcher
- func GreaterThan(expression string, minimumLength int) apitest.Matcher
- func Len(expression string, expectedLength int) apitest.Matcher
- func NotEqual(expression string, expected interface{}) apitest.Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
Contains is a convenience function to assert that a jsonpath expression extracts a value in an array
func Equal ¶
Equal is a convenience function to assert that a jsonpath expression matches the given value
func GreaterThan ¶
GreaterThan asserts that value is greater than the given length, determined by reflect.Len
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.