gomega: github.com/onsi/gomega/types Index | Files

package types

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

Index

Package Files

types.go

type GomegaFailHandler Uses

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

type GomegaFailWrapper Uses

type GomegaFailWrapper struct {
    Fail        GomegaFailHandler
    TWithHelper TWithHelper
}

type GomegaMatcher Uses

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 Uses

type GomegaTestingT interface {
    Fatalf(format string, args ...interface{})
}

A simple *testing.T interface wrapper

type TWithHelper Uses

type TWithHelper interface {
    Helper()
}

Package types is imported by 490 packages. Updated 2018-09-07. Refresh now. Tools for package owners.