3 ms·
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 f
by adamors 12y 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.
- ubernostrum 12y agoI 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.
- adamors 12y agoThat's what functional tests are for. But if you're doing TDD there's no point in constantly running your functional/acceptance tests.
- ubernostrum 12y agoAnything that's not full verification isn't verification at all :)