dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24176
Re: Dolfin test organization
On Monday August 8 2011 11:11:22 Anders Logg wrote:
> On Mon, Aug 08, 2011 at 07:26:24PM +0200, 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?
>
> It's a remnant and it would be good to decide on a structure to
> use and stick to that.
There is a Blueprint on this. I just added some small comments regarding the
organization of the unittests.
Johan
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
References