[SciPy-dev] Nose testing branch - call for - er - testing

Matthew Brett matthew.brett@gmail....
Tue Jan 8 19:15:23 CST 2008


Hi,

I've been working for a bit on replacing numpy testing with the nose
testing framework:

http://somethingaboutorange.com/mrl/projects/nose/

Fernando and the guys started this at the recent Berkeley sprint, and
I've since been slogging through.

I've now done most of the work, and I was hoping some of you would
check out the branch and see what you find:

http://projects.scipy.org/scipy/scipy/browser/branches/testing_cleanup/

As before, you can run module level tests with (e.g)

scipy.io.test()

Now the arguments are a bit different, and select the tests using the
nose framework, such as:

scipy.io.test('bench')

select the tests labelled with the benchmark decorators, this:

scipy.io.test('fast')

corresponds to the default, and this

scipy.io.test('full', verbose=10)

to the usual test(10, 10) idiom.

You'll see hints on the nose stuff in the scipy.testing module, and
the scipy.sandbox.exmplpackage module.

Any thoughts from the bravest out there?

Matthew


More information about the Scipy-dev mailing list