Description
Lets Ruby tests simulate filesystem behavior without touching real files in many common cases. It is useful for testing code that reads, writes, creates, or deletes paths while keeping test runs faster and easier to isolate.
A fake filesystem is not the same as a real one. Keep integration tests for permissions, symlinks, encodings, concurrency, and platform-specific filesystem behavior.