package types
import "github.com/onsi/gomega/types"
Index ¶
- type GomegaFailHandler
- type GomegaFailWrapper
- type GomegaMatcher
- type GomegaTestingT
- type TWithHelper
Types ¶
type GomegaFailHandler ¶
type GomegaFailWrapper ¶
type GomegaFailWrapper struct { Fail GomegaFailHandler TWithHelper TWithHelper }
type GomegaMatcher ¶
type GomegaMatcher interface { Match(actual interface{}) (success bool, err error) FailureMessage(actual interface{}) (message string) NegatedFailureMessage(actual interface{}) (message string) }
All Gomega matchers must implement the GomegaMatcher interface
For details on writing custom matchers, check out: http://onsi.github.io/gomega/#adding-your-own-matchers
type GomegaTestingT ¶
type GomegaTestingT interface { Fatalf(format string, args ...interface{}) }
A simple *testing.T interface wrapper
type TWithHelper ¶
type TWithHelper interface {
Helper()
}
Source Files ¶
Tools for package owners.