package types

import "github.com/onsi/gomega/types"

Index

Types

type GomegaFailHandler

type GomegaFailHandler func(message string, callerSkip ...int)

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

Source Files

types.go

Version
v1.2.0
Published
Jul 16, 2017
Platform
js/wasm
Last checked
5 days ago

Tools for package owners.