this post was submitted on 17 Jun 2024
6 points (87.5% liked)
Hacker News
2159 readers
86 users here now
A mirror of Hacker News' best submissions.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sure, go ahead, do all your tests for stuff involving I/O by doing real I/O, and do some containerization or whatever to maintain reproducibility. Don't come crying to me when your test runtime goes from 10 seconds to 20 minutes, and everyone stops actually running them.
Mock or be mocked... :)