I wanto write a Junit test case for DAO class. I googled, but didn't get clear answers:(. Does anyone have a example or direct me to the right link.
Printable View
I wanto write a Junit test case for DAO class. I googled, but didn't get clear answers:(. Does anyone have a example or direct me to the right link.
Don't just say a DAO class, simply state a class and you need to write a JUnit test case. What are you using now for creating test case? What are the problems you are facing?
Take a look at DBUnit, it is a good testing framework for database.
i want to use Junit ans write the test case. so are there any examples?