Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T interface {
Fatal(args ...interface{})
}
T is an interface common to testing.T, testing.B, and *check.C.
type TestApp ¶
type TestApp struct { RestHelper // contains filtered or unexported fields }
TestApp wraps a regular app adding features that can be used in unit tests.
func NewTestApp ¶
func NewTestApp() *TestApp
NewTestApp creates a new app should be used in unit tests.
func (*TestApp) Close ¶
func (testApp *TestApp) Close()
Close shuts down the underlying test server.
Click to show internal directories.
Click to hide internal directories.