Originally Posted by akrabat
Clearly I'm missing something, but what's the problem with having the SQL that the test depends on being in the test itself?
Nothing. In fact it's often a good thing, as it allows the test to tell the full story.
Testing: SimpleTest, Cgreen, Fakemail
Other: Phemto dependency injector
Books: PHP in Action, 97 things