InterludeInterlude for Doctests provides an Interactive Console. | |
Download |
Interlude Ranking & Summary
Advertisement
- License:
- LGPL
- Price:
- FREE
- Publisher Name:
- Jens Klein
- Publisher web site:
- http://bluedynamics.com
Interlude Tags
Interlude Description
Interlude for Doctests provides an Interactive Console. Interlude is a Python library that 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: 1. import interlude 2. suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), ...) Requirements: · Python
Interlude Related Software