http://qs321.pair.com?node_id=627184


in reply to Test Technique: Self-removing test data

We did something like this on my last project, and got pretty far with it. Eventually though, I started to wonder why we were bothering. For one thing, it's still not really safe to run it on a production database. What if a test dies? Mess.

In the end, there were enough special exceptions and additional things to clear that it probably would have worked better to just wipe the whole database before each test script.