|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^4: Automated testing of database classesby stvn (Monsignor) |
| on Dec 27, 2004 at 14:26 UTC ( [id://417614]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
revdiablo makes an excellet point. You can use DBD::Mock for your unit tests (tests which only test the class itself in isolation (or at least as isolated as possible)). But when it comes time to do integration tests (tests which test the interaction of classes in the larger system), then you will likely want to use a real database.
-stvn
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||