JUNIT test for database operations?
0 posts in topic
Flat View  Flat View

Posted By:   godhs_g
Posted On:   Wednesday, April 6, 2005 05:56 AM

I m new to JUnit.
I need to test a method which hits the database based on the input parameters, stores the resultsets in seperate Objects(with getter n setter methods), adds the objects to an arraylist and returns the arraylist.

can someone tell me how to go about writing testcase for this method?

Thanks in advance,

About | Sitemap | Contact