-
Notifications
You must be signed in to change notification settings - Fork 17
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 doctest.el #97
Comments
Eldev currently works with tools only if those are standard Emacs packages. There was some request to add support for fetching directly from repositories (#91), but it is not implemented yet. So, a first step would be to make After that I could look into adding support for it into Eldev. |
Understood. Thank you for the prompt response. I'm in discussion with the author of the updated fork. I'll report back after the package is available on MELPA or equivalent. In the meanwhile, are there any other constraints that a testing library ought to satisfy so it may be integrated with |
Probably no. As far as I understand, this framework doesn't have dedicated test files, but instead runs tests sort-of embedded in the normal source code [documentation]. This is different compared to all other currently supported frameworks (3), but it's up to Eldev to cope with such differences. Ideally, the framework should have native support for all Eldev-standard options (just run |
Doctest is now on MELPA: https://melpa.org/#/doctest |
Thank you. Can you point me to some project that uses doctests? As I understand, source code won't contained |
The
Yes. This is because |
It still would be nice to have some external example. Though I guess I can do without one too. |
See the |
I plan to submit a few improvement PRs against |
Appreciate your effort regarding this and thank you for the heads up. |
Since you are interested in this package and the current maintainer doesn't seem to be responsive, it might speed things up if you yourself can become a maintainer and can review my PRs. I hope the current maintainer would allow that as it doesn't look like doing anything with the project. I currently submitted only a trivial oneliner, don't want to do anything until at least that is accepted. |
That's understandable. @ag91 would you be comfortable adding me as a (co-)maintainer to doctest? I'm |
ah sorry about that, I have a problem going with notifications: I didn't receive an email about those open PRs but I did receive one for your direct mention. |
@ag91: Understood. Is there any particular reason why issue tracking is disabled in your repository? I have some issues with doctest that I don't immediately know how to fix, so cannot create a PR, yet also have nowhere to report... |
it seems that by default forking a repo disables issues: fixed that. |
Done in Eldev 1.10. |
doctest.el
brings Python doctest functionality to Elisp.The original repository hasn't been update in some years and has some issues
with non-interactive usage. However, this has been addressed in this fork.
Could support for
doctest
be added toeldev
? The idea would be foreldev
to load source files and evaluate
doctest
in it.The text was updated successfully, but these errors were encountered: