test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTextInFile

func CheckTextInFile(t *testing.T, fileName string, matchText string) error

Types

type Workspace

type Workspace struct {
	Id       string
	Dir      string
	CacheDir string
}

func SetupWorkspace

func SetupWorkspace(t *testing.T) *Workspace

func (*Workspace) RandomFile

func (w *Workspace) RandomFile(t *testing.T) string

func (*Workspace) RemoveWorkspace

func (w *Workspace) RemoveWorkspace()

func (*Workspace) WriteScript

func (w *Workspace) WriteScript(t *testing.T, script string) string

Jump to

Keyboard shortcuts

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