Friday, 13 September 2013

How to write unit tests for hibernate domain objects

How to write unit tests for hibernate domain objects

I have domain objects with one to many, many to many, many to one
relations in hibernate. I wrote the unit tests for the validation rules
imposed on the domain objects.
To improve the test coverage i have to write test cases for the relations
in hibernate domain.
Can any one tell me the best way to cover those ?

No comments:

Post a Comment