Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for running DocTest #44

Open
jitseniesen opened this issue Jan 14, 2017 · 6 comments
Open

Add support for running DocTest #44

jitseniesen opened this issue Jan 14, 2017 · 6 comments
Milestone

Comments

@jitseniesen
Copy link
Member

From @spyder-issues-migrator on February 17, 2015 23:33

From doug.t...@gmail.com on 2015-01-27T19:21:34Z

Doctest is a useful built-in library in Python.

I would find it very useful if Spyder could run doctest on the active editor file.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2144

Copied from original issue: spyder-ide/spyder#2144

@jitseniesen
Copy link
Member Author

From @spyder-issues-migrator on February 17, 2015 23:33

From doug.t...@gmail.com on 2015-01-27T16:26:29Z

I've actually already started making a plugin for this. It can be found at: https://github.com/dougthor42/spyder-doctest-plugin It's still pretty basic, but it works for the most part. I think it has issues if the code has to wait for user input at any point, but it's a start.

You can take a look at the docs on the github page to see what I have planned for it.

To install:

Download doctestgui.py and p_doctest.py (also test_doctestgui.py if you want to run doctestgui.py stand-alone). Put doctestgui.py (and test_doctestgui.py) into
...\site-packages\spyderplugins\widgets
and put p_doctest.py into
...\site-packages\spyderplugins\

@jitseniesen
Copy link
Member Author

From @spyder-issues-migrator on February 17, 2015 23:33

From ccordoba12 on 2015-01-30T14:32:31Z

I think this is too specialized to belong to Spyder properly, but it's just fine for a third party plugin.

We are going to improve how to install this kind of plugins in 2.4.

I'll let you know when that happens, so you can distribute your plugin more easily.

Summary: Add support for running DocTest (was: Add support for running DocTest on editor file)
Labels: MS-v2.4 Cat-Miscelleneous

@jitseniesen
Copy link
Member Author

From @spyder-issues-migrator on February 17, 2015 23:33

From doug.t...@gmail.com on 2015-02-03T12:47:01Z

Thanks Carlos, that sounds good to me.

@jitseniesen
Copy link
Member Author

From @dougthor42 on February 19, 2015 22:1

Adding comment so that I get notifications and so that I can find my issues/comments more easily.

@dougthor42

@jitseniesen
Copy link
Member Author

From @Nodd on April 7, 2015 13:21

For information I started some time ago a plugin to run nosetests/pytets : https://github.com/Nodd/spyder_unittesting
If correctly configured it should run doctests too (but on a whole project, not on the current file)

@jitseniesen
Copy link
Member Author

From @goanpeca on January 13, 2017 22:23

@jitseniesen I think this is related to your work on spyder-unittest.

We should maybe close this and move to the spyder-unittest repo?

@jitseniesen jitseniesen added this to the v0.2 milestone Jan 14, 2017
@jitseniesen jitseniesen modified the milestones: v0.3, v0.2 Jun 29, 2017
@jitseniesen jitseniesen modified the milestones: v0.3, v0.4 Jan 27, 2018
@jitseniesen jitseniesen modified the milestones: v0.4, v0.5 Dec 28, 2019
@goanpeca goanpeca removed this from the v0.5 milestone Feb 23, 2020
@jitseniesen jitseniesen added this to the v0.5.1 milestone Jan 6, 2022
@jitseniesen jitseniesen removed the v0.5.0 label Jan 6, 2022
@jitseniesen jitseniesen modified the milestones: v0.5.1, v0.5.2 Aug 17, 2022
@jitseniesen jitseniesen removed their assignment Aug 17, 2022
@jitseniesen jitseniesen modified the milestones: v0.5.2, v0.6.0 Mar 24, 2023
@jitseniesen jitseniesen modified the milestones: v0.6.0, v0.7.0 Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants