Unit-test framework for bean comparison

Posted by 01 on Stack Overflow See other posts from Stack Overflow or by 01
Published on 2010-05-21T12:19:41Z Indexed on 2010/05/21 12:20 UTC
Read the original article Hit count: 160

Filed under:
|
|
|
|

Is there any good framework for comparing whole objects?

now i do

assertEquals("[email protected]", obj.email); assertEquals("5", obj.shop);

if bad email is returned i never get to know if it had the right shop, i would like to get a list of incorrect fields.

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about junit