doctestjs icon indicating copy to clipboard operation
doctestjs copied to clipboard

Allow tests to be embedded in comments

Open ianb opened this issue 13 years ago • 1 comments

I've kind of left out the original concept of Python's doctest, where you put tests in your inline code documentation (comments in Javascript, docstrings in Python). It would be nice to have something like that, perhaps, maybe. Mostly it would be just a fancier parser.

ianb avatar Sep 26 '12 02:09 ianb

I was looking for exactly that and really confused when I found your project. The documentation could be improved to point that out. Maybe the name doctestjs is also a bit misleading at the moment. It's more htmltestjs, right?

mkllnk avatar Mar 20 '14 10:03 mkllnk