Separation of tests into unit test and functional tests

Ralf Gommers ralf.gommers at googlemail.com
Tue Oct 20 04:03:42 EDT 2009


2009/10/20 Stéfan van der Walt <stefan at sun.ac.za>

>
> 2009/10/19 Ralf Gommers <ralf.gommers at googlemail.com>:
> > This is why I originally put my test images for io under io/tests. I
> thought
> > data_dir should only contain images for examples, useful for users.
> Images
> > for testing algorithms can often be small. For the color conversion I now
> > use images of size (4, 2, 3), which means they take no time at all.
>
> The idea is for each package to use the same pool of images, so that
> we don't have to include data-files in each sub-package.  If needed,
> we could put them in subdirectories under data to show what they were
> intended for.
>
> Sure that makes sense. It would be good if data_dir has only "nice" images.
I can rearrange them today, either in one subdir per module or simply one
new data_dir/testdata.

Cheers,
Ralf


>
> Cheers
> Stéfan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20091020/0f7b5b65/attachment.html>


More information about the scikit-image mailing list