Documentation ¶ Index ¶ func AssertConfig(t *testing.T, state *TestState, field ConfigField, expectedValue string) func RunWikiCmd(state *TestState, command string) (string, error) type ConfigField type TestState func StartupTest() *TestState Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AssertConfig ¶ func AssertConfig(t *testing.T, state *TestState, field ConfigField, expectedValue string) func RunWikiCmd ¶ func RunWikiCmd(state *TestState, command string) (string, error) Types ¶ type ConfigField ¶ type ConfigField int const ( Config_field_default ConfigField = iota ) type TestState ¶ type TestState struct { WikicmdBinaryPath string WikicmdConfigPath string } func StartupTest ¶ func StartupTest() *TestState Source Files ¶ View all Source files testutils.go Click to show internal directories. Click to hide internal directories.