kamilski81
Aug 13th, 2007, 02:03 AM
Hey guys,
I want to test a dao class but what I am reading doesn't make sense. I have read that a dao unit test should not interact with a third party, interactions should be left for integration testing.
In my case, my dao is accessing a Sybase database. I have read the spring documetation online and actually picked up a Spring book but the question still remains. Would someone mind pointing me to some 1) dao unit & integration testing examples, 2) dao testing examples that commit the transaction.
thank you in advance.
I want to test a dao class but what I am reading doesn't make sense. I have read that a dao unit test should not interact with a third party, interactions should be left for integration testing.
In my case, my dao is accessing a Sybase database. I have read the spring documetation online and actually picked up a Spring book but the question still remains. Would someone mind pointing me to some 1) dao unit & integration testing examples, 2) dao testing examples that commit the transaction.
thank you in advance.