[SciPy-dev] Nose tests - merged

Jarrod Millman millman@berkeley....
Wed Jan 16 10:52:03 CST 2008


On Jan 16, 2008 5:04 AM, Matthew Brett <matthew.brett@gmail.com> wrote:
> Reading further and testing, I find that I was wrong about this.
> Nose, by default, will discover tests within package directories, or
> directories matching the usual nose test file regexp, and not
> otherwise.  'benchmarks' does not match this regexp.  So, allowing
> tests in benchmark directories will involve some further non-default
> nose tweaking (ah that name).  Personally, I would rather keep our use
> of nose as close to default as possible, and therefore do benchmarks
> in the test directory, as before, with
>
> @dec.bench
>
> decorators to identify them.  Do y'all agree?

+1

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the Scipy-dev mailing list