test

package
v0.51.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureConsoleOutput

func CaptureConsoleOutput(f func(), t *testing.T) string

CaptureConsoleOutput - captures the console output as a string and return useful in test cases

func ReadFileToString

func ReadFileToString(path string) (string, error)

ReadFileToString - Read a file and return contents as string

Types

This section is empty.

Jump to

Keyboard shortcuts

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