[IPython-user] Interactive testing with ipython

Fernando Perez fperez.net@gmail....
Sun Nov 25 17:47:57 CST 2007


Hey Alex,

On May 10, 2007 5:18 PM, Alexander Schmolck <a.schmolck@gmx.net> wrote:
> "Fernando Perez" <fperez.net@gmail.com> writes:
>
> > On 5/10/07, Alexander Schmolck <a.schmolck@gmx.net> wrote:
> >
> >> The code appears to work, but isn't properly tested or release quality right
> >> now (it's reasonably short, though, < 200LOC) -- but your post got me thinking
> >> that it might be nice to bundle such functionality as a magic function for
> >> ipython (e.g.``runtests test_foo.py``?). I think for long running and
> >> complicated test suites (esp. for numerical stuff where failures can profit
> >> from some more fancy inspection then prints) this could be real development
> >> time saver. Would there be any interest in adapting this for
> >> ipython-inclusion?
> >
> > Send it in!  Put it up on the Cookbook with the code as an attachment
> > so everyone can start using it:
> >
> > http://ipython.scipy.org/moin/Cookbook
> >
> > We can then polish it and ship it included in the future, but that way
> > we all get the toys right away :)
> >
> > I'd LOVE to use this stuff already.
> >
>
> Great! I'll do so at the next best opportunity -- I'll really need to catch
> some sleep now and I'll be hard pressed to fit in some coding in the next few
> days, but I'll CC'ed: this to brian hawthorne, who co-authored the code in
> question, so maybe he can give make sure it actually does vaguely work as I
> claimed it would :)

I hope you've caught up on sleep since May 10 :)  Just a reminder to
drop your unittest support code into the cookbook, I'm sure people
(including myself) would find it useful.

Cheers,

f


More information about the IPython-user mailing list