[GRASS-dev] Re: GRASS Test suite
Anne Ghisla
a.ghisla at gmail.com
Mon Jul 4 06:31:17 EDT 2011
Le lundi 04 juillet 2011 à 10:52 +0200, Soeren Gebbert a écrit :
> Hi all,
>
> 2011/7/4 Martin Landa <landa.martin at gmail.com>:
> > Hi,
> >
> > 2011/7/4 Anne Ghisla <a.ghisla at gmail.com>:
> >>> I'm just looking at grass7/raster/r.colors/ and the test files
> >>> really dominate the module dir.
> >>
> >> +1 from me on having a testsuite/ or tests/ subdir for each module.
> >
> > also +1 from me.
>
> The directory layout has been discussed here:
> http://osgeo-org.1803224.n2.nabble.com/Test-suite-for-GRASS-proposal-discussion-welcome-td6391218.html
>
> I would suggest to either use reference_data/ subdir for each module,
> so that the test scripts may stay in the module directory, not in a
> subdirectory, or a testsuite/ subdir including all data?
>
> I personally prefer a reference data subdir, to have a clear
> separation of test case scripts and reference data. Otherwise the
> reference data will dominate again and finding the test scripts is not
> that obvious.
In the case of r.colors, there are a lot of .ref files and one .sh
script, that is hidden among them when the folders contents are ordered
alphabetically. I haven't checked if it will be the case of other
modules.
Personally I prefer to keep all test data and scripts together in the
tests/ subfolder.
But if the majority find it uncomfortable as the script file is less
accessible, let's keep it in module folder and put data in the subfolder
(after correcting the paths in script file).
Opinions?
regards
Anne
> Best regards
> Sören
>
> >
> > Martin
> >
> > --
> > Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20110704/76342505/attachment.bin
More information about the grass-dev
mailing list