Robbie,

Is it considered "good practice" to stub out database classes when
you're unit testing network code? Or am I better off using something
like DbUnit to test against a real database? I have been reluctant to
use DbUnit because of my XML-phobia :) I don't like the headache of
having to set up the test data in some XML format. I much prefer
stubbing out the database using normal Java code (it's easy enough to
do) but then I'm afraid I'm not testing something vital. Is there an
easier way to do all of this?

Thank you,
Gili
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to