[SciPy-dev] Nose tests - merged
Wed Jan 16 11:02:24 CST 2008
On Jan 16, 2008 9:52 AM, Jarrod Millman <firstname.lastname@example.org> wrote:
> On Jan 16, 2008 5:04 AM, Matthew Brett <email@example.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?
As we discussed the other day, we could also have a convention for
benchmark-only files, *still in the test directory*, to be named
This way nose still picks them up, yet to the human reader it's clear
that those are benchmarks.
More information about the Scipy-dev