FICHA · MANJARO

ruby-fakefs

A fake filesystem. Use it in your tests.

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

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.

Permissions

Permissions not analysed for this source yet.