News for hackers. Stuff that matters.
Re:In-Memory Filesystems in Rust by stingraycharles on Monday August 25, 2025 @07:20AM (#45012611)
Same like mocking databases; yes they make your tests run faster and more “pure”, but you’re suddenly not really testing reality anymore.
Re:In-Memory Filesystems in Rust by boomlinde on Monday August 25, 2025 @08:55AM (#45013331)
Sure, but they're not mutually exclusive approaches. Having tests that run in a couple of seconds thanks to low I/O and cheap scaffolding setup/teardown can be a valuable addition to slower, comprehensive system and integration test suites.
Re:In-Memory Filesystems in Rust by actionfromafar on Monday August 25, 2025 @10:09AM (#45014041)
And you can spot differences between your understanding of reality (test mockups) and how it behaves on the real filesystem. (In this case.)