testhelper

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillTemplateAndReturn added in v1.0.2

func FillTemplateAndReturn(t *testing.T, templatePath string, values map[string]string) *bytes.Buffer

func GetFreePort added in v1.0.2

func GetFreePort() (int, error)

Types

type Cleanup

type Cleanup struct {
	// contains filtered or unexported fields
}

func (*Cleanup) Cleanup added in v0.2.0

func (c *Cleanup) Cleanup(fn func())

func (*Cleanup) Log added in v0.2.0

func (*Cleanup) Log(a ...interface{})

func (*Cleanup) Run

func (c *Cleanup) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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