← Back to team overview

dolfin team mailing list archive

Re: Dolfin test organization

 

On 8 August 2011 20:08, Johan Hake <johan.hake@xxxxxxxxx> wrote:
> That is probably a cleanup which is not finished...
>
> I think Garth started a breakup of tests. I have tried to sort the test just a
> bit. Please continue!

Ok, good. And no thanks :)
If I spend time on test organization it will be in UFL.

Martin

> I think the overall goal is to have one test script for each distinctive class
> or type of classes.
>
> Johan
>
> On Monday August 8 2011 10:26:24 Martin Sandve Alnæs wrote:
>> Hi,
>> for example in
>>   <dolfin>/test/unit/function/python/
>> there is two files
>>   function.py
>>   test.py
>> where the first one only contains a class Interpolate,
>> while the second contains the same class with fewer
>> functions plus a bunch of other classes.
>>
>> The same pattern of "foo.py" + "test.py" occurs other places as
>> well. At a glance it seems to me there is some duplication.
>>
>> Is there some idea behind this structure or is it a
>> remnant of some renaming/cleanup/whatever?
>>
>> Martin
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dolfin
>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dolfin
>> More help   : https://help.launchpad.net/ListHelp
>


References