Versions in this module Expand all Collapse all v3 v3.0.2 Aug 30, 2022 v3.0.1 Aug 29, 2022 Changes in this version + func DescribeValue(value interface{}) string + type AssertionScope struct + func For(t TestingT, name string) AssertionScope + func In(t TestingT) AssertionScope + func (a AssertionScope) Assert(value interface{}, matcher Matcher) bool + func (a AssertionScope) For(name string) AssertionScope + func (a AssertionScope) Require(value interface{}, matcher Matcher) bool + type DescribeFailureFunc func(value interface{}) string + type DescribeTestFunc func() string + type KeyValueMatcher struct + Key interface{} + Value Matcher + func KV(key interface{}, valueMatcher Matcher) KeyValueMatcher + type Matcher struct + func AllOf(matchers ...Matcher) Matcher + func AnyOf(matchers ...Matcher) Matcher + func BeNil() Matcher + func Equal(expectedValue interface{}) Matcher + func Items(matchers ...Matcher) Matcher + func ItemsInAnyOrder(matchers ...Matcher) Matcher + func JSONEqual(expectedValue interface{}) Matcher + func JSONStrEqual(expectedValue string) Matcher + func MapIncluding(keyValueMatchers ...KeyValueMatcher) Matcher + func MapOf(keyValueMatchers ...KeyValueMatcher) Matcher + func New(test TestFunc, describeTest DescribeTestFunc, ...) Matcher + func Not(matcher Matcher) Matcher + func StringContains(substring string) Matcher + func StringHasPrefix(prefix string) Matcher + func StringHasSuffix(suffix string) Matcher + func (m Matcher) EnsureType(valueOfType interface{}) Matcher + func (m Matcher) Test(value interface{}) (pass bool, failDescription string) + type MatcherTransform struct + func JSONArray() MatcherTransform + func JSONMap() MatcherTransform + func JSONOptProperty(name string) MatcherTransform + func JSONProperty(name string) MatcherTransform + func Length() MatcherTransform + func OptValueForKey(key interface{}) MatcherTransform + func Transform(name string, getValue func(interface{}) (interface{}, error)) MatcherTransform + func ValueForKey(key interface{}) MatcherTransform + func (mt MatcherTransform) EnsureInputValueType(valueOfType interface{}) MatcherTransform + func (mt MatcherTransform) Should(matcher Matcher) Matcher + type TestFunc func(value interface{}) bool + type TestingT interface + Errorf func(format string, args ...interface{}) + FailNow func() Other modules containing this package github.com/launchdarkly/go-test-helpers/v2