A Spyder plugin for the built-in doctest
package.
- Put p_doctest.py in
%pythonpath%\Lib\site-packages\spyderplugins
- Put doctestgui.py in
%pythonpath%\Lib\site-packages\spyderplugins\widgets
- (Optional) put test_doctestgui.py in
%pythonpath%\Lib\site-packages\spyderplugins\widgets
- Load up spyder. It should work.
With the file open that you want to run doctest on, press
ALT
+ F12
.
- It's a plugin for Spyder, so... you need Spyder. I've tested it with Spyder 2.3.2 and Python 2.7.6. Additional testing is appreciated.