testutils

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL