
FakeFS allows you to unit-test file system calls without actually touching the file system. File, Dir and FileUtils calls are redirected to a fake file system without requiring to use any mocking library thus making it faster and easier to test file system calls.