I can tell because it violates the rules of good unit and integration tests.
Naomi, you always come up here asking how to do something and frequently try to justify your poor software engineering practices when you're told why you're doing things wrong. Then you usually end up saying something just you said here. Just get the result to look right when there really is no way to tell if it's correct or not. You're doing your employer a disservice, your career a disservice, what you're doing is costing your employer money, and borders on ineptitude. I can almost guarantee at some point, a value will either be incorrectly written or read to the database because your tests are in fact invalid. Then you'll scratch your head for days trying to figure out what's wrong, you'll ask here for help, you'll scratch your head some more. All because it appears the tests are passing but may not acutally be failing.
>I disagree, but you can not tell because you don't know what exactly I am doing.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer