[BioRuby] RFC Unit testing large files

Pjotr Prins pjotr2008 at thebird.nl
Fri Sep 19 15:29:54 UTC 2008


It is not simply testing some small code. It is to verify, for
example, that large files get read properly - and that RMA
normalization does its job.

Otherwise I would certainly opt for such a solution.

Pj.

On Fri, Sep 19, 2008 at 05:19:07PM +0200, Raoul Jean Pierre Bonnal wrote:
> Il giorno ven, 19/09/2008 alle 16.05 +0200, Pjotr Prins ha scritto:
> > For microarray unit tests I have some 30Mb of files. Probably not
> > very nice to put those in the source tree. The options are:
> > 
> > 1. Host them in the source tree - huge downloads for everyone.
> > 
> > 2. Fetch them on demand by the unit tests - takes long time the first
> > time and where do I put them? In a cache directory?
> > 
> > 3. Have the unit tests in a separate tree - special purpose testing
> > 
> > 4. No unit tests for these
> > 
> > I have the same unit tests in the biolib tree - but that is a hassle
> > too. For BioRuby I propose (3). Maybe I ought to solely use the biolib
> > tree for these specific unit tests and have a 'stub' in the Bioruby
> > tree for them.
> > 
> > This problem will come back - and keep in mind the free github space
> > is 'only' 100 Mb.
> 
> Create a piece of code to generate fake data for local test?
> 
> --
> Ra



More information about the BioRuby mailing list