Versions in this module Expand all Collapse all v0 v0.1.0 Feb 10, 2023 Changes in this version + type AfterAll interface + AfterAll func(t *testing.T) error + type AfterEach interface + AfterEach func(t *testing.T) error + type BeforeAll interface + BeforeAll func(t *testing.T) error + type BeforeEach interface + BeforeEach func(t *testing.T) error + type Fixture interface + type HTTPServerFixture struct + DisableHTTP2 bool + UseTLS bool + func (f *HTTPServerFixture) AfterAll(t *testing.T) error + func (f *HTTPServerFixture) BeforeAll(t *testing.T) error + func (f *HTTPServerFixture) Handle(pattern string, handler http.Handler) + func (f *HTTPServerFixture) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request)) + func (f *HTTPServerFixture) URL(pathElements ...string) string + type MultiFixture []Fixture + func (f MultiFixture) AfterAll(t *testing.T) error + func (f MultiFixture) AfterEach(t *testing.T) error + func (f MultiFixture) BeforeAll(t *testing.T) error + func (f MultiFixture) BeforeEach(t *testing.T) error + type Suite interface + Run func(string, TestFunc[F]) Suite[F] + func With(t *testing.T, fixture F) Suite[F] + type TempDirFixture struct + func TempDir(name string) *TempDirFixture + func (f *TempDirFixture) AfterAll(t *testing.T) error + func (f *TempDirFixture) BeforeAll(t *testing.T) error + func (f *TempDirFixture) Join(parts ...string) string + func (f *TempDirFixture) Name() string + func (f *TempDirFixture) Path() string + func (f *TempDirFixture) String() string + type TestFunc func(*testing.T, F) + type TupleFixture struct + One A + Two B + func Tuple(a A, b B) *TupleFixture[A, B] + func (f *TupleFixture[A, B]) AfterAll(t *testing.T) error + func (f *TupleFixture[A, B]) AfterEach(t *testing.T) error + func (f *TupleFixture[A, B]) BeforeAll(t *testing.T) error + func (f *TupleFixture[A, B]) BeforeEach(t *testing.T) error