Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestFolder ¶
type TestFolder interface { GetContent(t *testing.T, path string) string GetReader(t *testing.T, path string) io.Reader }
TestFolder is an interface that provides methods for accessing content and reading files from a test folder. GetContent retrieves the content of a file located at a specified path. It takes a *testing.T object and a string path as parameters. It returns the content of the file as a string.
func NewTestFolder ¶
func NewTestFolder() TestFolder
NewTestFolder returns a new instance of the TestFolder interface. It creates an instance of the testFolder struct and returns it as a TestFolder.
Click to show internal directories.
Click to hide internal directories.