Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToTestDirectory ¶
CopyToTestDirectory copies files or directories from the provided filePath (relative to ./tests/contracts/) to an ephemeral directory used for unit tests.
func ExecuteInDirectory ¶
ExecuteInDirectory executes the given method in a given test directory. It changes the current working directory to the directory specified, runs the provided method, then restores the working directory. This wraps tests so any file artifacts generated do not end up in the codebase directories.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.