Hacker News new | ask | show | jobs
by adamors 4414 days ago
Correct me if I'm wrong, but one of the points of using dummy persistence is testing. You can delay using a database for a long time this way, have tests that finish quickly etc. Doing this within the confines of a Rails like MVC is next to impossible.
1 comments

I am also a strong non-fan of faking persistence mechanisms in testing. If you're faking it, you don't actually know that the real thing will work.
That's what functional tests are for. But if you're doing TDD there's no point in constantly running your functional/acceptance tests.
Anything that's not full verification isn't verification at all :)