testhelper

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDirEqual

func AssertDirEqual(
	t *testing.T,
	expected, actual string,
)

AssertDirEqual compares two directories if they are the same recursively

func CopyDir

func CopyDir(source string, dest string) error

CopyDir creates destination directory and copies all the files and sub directories from source directory

func CopyFile

func CopyFile(source string, dest string) error

CopyFile create a destination file and copy the source file content

func GetProjectRoot

func GetProjectRoot() string

GetProjectRoot returns the root directory of the project

Types

This section is empty.

Jump to

Keyboard shortcuts

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