python3-zc.customdoctests

Use doctest with other languages (Python 3)

Description

doctest (and recently manuel) provide hooks for using custom doctest parsers. zc.customdoctests helps to leverage this to support other languages, such as JavaScript (with python-spidermonkey):

    js> function double (x) {
    ... return x*2;
    ... }
    js> double(2)
    4

And with it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/zopefoundation/zc.customdoctests


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-zc.customdoctests