Documentation ¶
Index ¶
- func NewTestConfig(t *testing.T) *config.Config
- func NewTestDB(t *testing.T) *database.Database
- func NewTestServer(cfg *config.Config, db *database.Database, ...) *httptest.Server
- func TestWithTestServer(t *testing.T, ...)
- func TestWithTmpFiles(t *testing.T, testFunc func(t *testing.T), files map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestServer ¶
func TestWithTestServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.