Skip to content

Comment on Poof and then Rails was goneparent

Comments

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.

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 :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.