Expand description
Generates a temporary directory that can be used by tests. Returns
a TempDir
value that provides access to the created directory.
The directory and its contents will be deleted once the value is
dropped.
This will panic if the directory creation fails.