Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TeardownOnPanic ¶
func TeardownOnPanic(t *testing.T, f TestFixture)
TeardownOnPanic can be used to ensure cleanup on setup failure.
Types ¶
type FederationAPIFixture ¶
type FederationAPIFixture struct { Host string // contains filtered or unexported fields }
FederationAPIFixture manages a federation api server
func (*FederationAPIFixture) Setup ¶
func (f *FederationAPIFixture) Setup(t *testing.T)
func (*FederationAPIFixture) Teardown ¶
func (f *FederationAPIFixture) Teardown(t *testing.T)
type TestFixture ¶
Setup is likely to be fixture-specific, but Teardown needs to be consistent to enable TeardownOnPanic.
Click to show internal directories.
Click to hide internal directories.