Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stingraycharles
58 days ago
|
parent
|
context
|
favorite
| on:
In-Memory Filesystems in Rust
Same like mocking databases; yes they make your tests run faster and more “pure”, but you’re suddenly not really testing reality anymore.
boomlinde
58 days ago
[–]
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.
actionfromafar
58 days ago
|
parent
[–]
And you can spot differences between your understanding of reality (test mockups) and how it behaves on the real filesystem. (In this case.)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: