mailRe: unit tests vs... the current test_suite


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on October 30, 2006 - 18:12:
> Oh, for files such 'specific_fns/model_free.py' which is ~5600 lines
> long, it might be better to have multiple unit files corresponding to
> the single file.
>
I feal ths is the tale wagging the dog ;-) In this case i might be
better to split model_free.py into a simpler set of classes and then
have one unit test per class

It has been heading that way. There are currently two classes in the file, the normal 'Model_free' class and the 'Molmol' class. The later was because the model-free molmol functions were getting too long. Other categories of functions could be split up as well.

Edward



Related Messages


Powered by MHonArc, Updated Mon Oct 30 18:21:34 2006