[IPython-dev] status of ipnbdoctest.py

Nathan Goldbaum nathan12343 at gmail.com
Fri Dec 19 04:21:23 EST 2014


You can use runipy to script notebook evaluation:

https://github.com/paulgb/runipy

I don't think you can verify that the output isn't changing, but you can at
least check that cells aren't raising exceptions and view a converted
version of the evaluated notebook.  I think adding functionality to verify
that cell output isn't changing would be a neat addition to runipy.

On Fri, Dec 19, 2014 at 1:04 AM, David Froger <david.froger.ml at mailoo.org>
wrote:
>
> Dear all,
>
> I'm look for a tool like ipnbdoctest.py [0] which
> description is:
>
>     simple example script for running and testing notebooks.
>
>     Usage: `ipnbdoctest.py foo.ipynb [bar.ipynb [...]]`
>
>     Each cell is submitted to the kernel, and the outputs are compared
> with those
>     stored in the notebook.
>
> ipnbdoctest.py looks great, but seems to be not actively developped. Forks
> added new functionnalities, which have not been merged back.
>
> Do you make use of such a tool?
>
> Is there other ways to automatically test IPython notebook outputs?
>
> Would it be worth to maintain and develop ipnbdoctest.py?
>
> [0] https://gist.github.com/minrk/2620735
>
> Thanks,
> David
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141219/7abfdaef/attachment.html>


More information about the IPython-dev mailing list