Documentation ¶
Overview ¶
Package testlib provides varous utilities for testing purposes
Index ¶
Constants ¶
View Source
const (
FirstSubDir = "nothing"
)
Variables ¶
This section is empty.
Functions ¶
func MakeDatasetOrPanic ¶
Create a dataset for testing and return the newly created directory
func MakeFileOrPanic ¶
Create a new file at given path and size, without possibly required intermediate directories
func ResultHandler ¶
Return a function makes tests fail if there was an error result during an operation If logOnly is True, errors will not make the test fail. Useful if errors are expected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.