← Back to team overview

dolfin team mailing list archive

Re: Temporary test programs/scripts

 

On Mon, Jan 15, 2007 at 08:54:36PM +0100, Johan Jansson wrote:
> On Mon, Jan 15, 2007 at 07:50:05PM +0100, Anders Logg wrote:
> > Where should we put temporary tests (like test programs for the new
> > assembly)?
> > 
> > Maybe src/test/foo should be reserved for unit tests of kernel library
> > foo.
> > 
> > Is src/test/tmp a good place? Or should we add a new sub directory
> > like src/sandbox or src/experimental ?
> > 
> > /Anders
> 
> If what's tested is in the kernel (even if it's experimental) then I
> think it belongs in src/test/foo. If it's not in the kernel (like a
> temporary sketch) then src/test/experimental/foo sounds good to me. Or?
> 
>   Johan

Yes, putting it in src/test/foo is probably the most natural, but how
do we differentiate C++ test programs from Python unit tests?

One option is

    src/kernel/foo:  C++ unit tests of library foo
    src/kernel/bar:  C++ unit tests of library bar
    ...
    src/kernel/pydolfin: Python unit tests for PyDOLFIN

/Anders


References