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.
[ Parent
| on HN ]
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.)