E pur si muove

nose and ipython

Sunday, April 06, 2008

I wish there was a simple way to integrate nose and ipython. Something like a command line option not to catch exceptions would be sufficient I think, so that you could do:

In [1]: %run tests/ --do-not-catch-exceptions

Obviously you'd want a shorter option switch...

Seems like in is where this happens, but I tried changing that with no success.

And to be really useful I'd want the default behaviour of test selection in a module where if __name__ == '__main__': nose.main() is used to be just that module. But maybe that's already supported and I'm just not finding it.

Last random thought: Maybe if nose's -d option did expand dotted names I wouldn't be wishing for any of this. Who knows.


Anonymous said...

Have you thought about posting this comment to the ipython mailing list. These guys are very reactive. And beside, I know that Fernando loves nose, so he will be sensitive to your remark.

New comments are not allowed.

Subscribe to: Post Comments (Atom)