doctest icon indicating copy to clipboard operation
doctest copied to clipboard

Support for text files

Open doismellburning opened this issue 10 years ago • 2 comments

I'd love to use this to test my README.md too (which Python's doctest supports). Running doctest with README.md currently gives me:

doctests: target `README.md' is not a module name or a source file

I assume this means text files aren't supported. If I'm wrong, please let me know, but if not, I'd love the feature to exist please!

doismellburning avatar Apr 18 '14 21:04 doismellburning

Hey @doismellburning, you are right, this is not support right now. I agree that this could be a useful addition.

BTW, for the time being you may also be interested in markdown-unlit (and of course, you can run Doctest on literate Haskell files ;-).

sol avatar Apr 19 '14 00:04 sol

...I am indeed interested, thank you very much!

doismellburning avatar Apr 19 '14 11:04 doismellburning