Documentation ¶
Overview ¶
Package types contains various interfaces for writing tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestingTB ¶
type TestingTB interface { Cleanup(func()) Fail() FailNow() Failed() bool Fatal(args ...interface{}) Helper() Log(args ...interface{}) Logf(format string, args ...interface{}) Name() string Skip(args ...interface{}) }
TestingTB is an interface that describes the implementation of the testing object. Using an interface that describes testing.TB instead of the actual implementation allows us to use the utils with other runners (e.g. use with ginkgo : https://godoc.org/github.com/onsi/ginkgo#GinkgoT)
Click to show internal directories.
Click to hide internal directories.