Re: [hibernate-dev] Length of test methods

2012-05-25 Thread Gail Badner
- Original Message - > From: "Hardy Ferentschik" > To: "Hibernate" > Sent: Friday, May 25, 2012 8:08:07 AM > Subject: [hibernate-dev] Length of test methods > > Hi, > > looking at some metamodel test code today I found a test method &

[hibernate-dev] Length of test methods

2012-05-25 Thread Hardy Ferentschik
Hi, looking at some metamodel test code today I found a test method 'doTest' w/ 200 lines of code and countless assertions of the form 'assertTrue/False(condition)', 'assertEquals(expected, actual)'. I am having several problems with this type of testing: * test method should be descriptive, fo