Hello all!

I am making a unit/integraion test tool, for J2EE environment. We are using hibernate and spring tecniques for data persisting. What is actual Unit????. In literature they talk about sigle class as unit. Should we test all classes and their methods. If we generate kind of black box tests for example three classes cluster? or shoud all test be sigle classes sigle method?

I think of generating test pojo from database, is this possible? for example say: "generate pojo with fields, wich setter values are in database"?

Does anyone have experience in this??