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 31, 2006 - 17:15:
On 11/1/06, Gary S. Thompson <garyt@xxxxxxxxxxxxxxx> wrote:
Edward d'Auvergne wrote:

>> >> 2. I think the unit_test folder will need to be a mirror of the relax
>> >> source tree otherwise there will be name space clashes...
>> >
>> >
>> > Could the files be named something like
>> > 'test_specific_fns_model_free.py'?  That would avoid many directories.
>> > I'm not worried about complexity with the test suite though - if it's
>> > a (partial) mirror of the normal tree, then it should be pretty simple
>> > to work out.
>> >
>> A more contentius statement is that it should be a mirror orf the normal
>> tree, most files should have test cases.... ;-)
>
>
> I wouldn't call that contentious, it's pretty logical.  By partial I
> meant leaving out the 'minimise' directory

Actually minimise seems  to be an ideal case for  unit tests as it is
quite low level ;-)   So I guess it should go in for now and  then we
extract the tests back out again when you come to spin it off?

That's a good point, the minimise code and tests can be spun off together.



Related Messages


Powered by MHonArc, Updated Tue Oct 31 17:21:43 2006