interlude 1.0
Interlude for Doctests provides an Interactive Console.
Provides an interactive shell aka console inside your doctest case.
The console looks exact like in a doctest-case and you can copy and paste code from the shell into your doctest. It feels as you are in the test case itself. Its not pdb, it's a python shell.
In your doctest you can invoke the shell at any point by calling:
>>> interact( locals() )
To make your testrunner interlude aware following is needed:
- import interlude
- suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), ...)
License
interlude is copyright 2006-2009 by BlueDynamics Alliance, Klein & Partner KEG, Austria. It is under the GNU Lesser General Public License (LGPLv3). http://opensource.org/licenses/lgpl-3.0.html
written by Jens Klein <jens@bluedynamics.com>
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| interlude-1.0.tar.gz (md5) | Source | 2009-01-26 14:35:57 | 2KB | 947 | |
- Author: Jens Klein <jens at bluedynamics com>
- Home Page: https://svn.bluedynamics.eu/svn/public/interlude/
- License: LGPL
- Categories
- Package Index Owner: jensens, rnix
- DOAP record: interlude-1.0.xml
Log in to rate this package.
