From: Fernando P. <fpe...@gm...> - 2009-01-08 22:45:41
|
Howdy, On Tue, Jan 6, 2009 at 7:58 AM, Drain, Theodore R <the...@jp...> wrote: > OK - nose it is. How do you want to handle the dependency? My opinion is that since tests are development tools, it's not unreasonable to require that nose be installed by the developer and not as an embedded dependency in MPL (or at least that should be an option). Don't forget to have a look at numpy's extra nose support, which may come in handy for you (and since you already have a numpy dependency, you can use it at will): http://projects.scipy.org/scipy/numpy/browser/trunk/numpy/testing There's a lot of handy stuff in there. Suitable use of decorators make it very easy to tag tests for skipping under certain conditions (no X, no WX, etc). I've improved the code in numpy in my local ipython tree for that but haven't pushed it yet, ping me for the code if you need it quickly. Yay for testing! f |