Module fixture

Source
Expand description

Initialize the filesystem to use as test fixtures.

Structs§

ChildPath
A path within a TempDir
FixtureError
Failure when initializing the fixture.
NamedTempFile
A potential file in the filesystem that is automatically deleted when it goes out of scope.
TempDir
A directory in the filesystem that is automatically deleted when it goes out of scope.

Enums§

FixtureKind
Fixture initialization cause.

Traits§

FileTouch
Create empty files at ChildPath.
FileWriteBin
Write a binary file at ChildPath.
FileWriteFile
Write (copy) a file to ChildPath.
FileWriteStr
Write a text file at ChildPath.
PathChild
Access paths within TempDir for testing.
PathCopy
Copy files into TempDir.
PathCreateDir
Create empty directories at ChildPath.
SymlinkToDir
Create a symlink to the target
SymlinkToFile
Create a symlink to the target