doctestjs
doctestjs copied to clipboard
Javascript testing made easy and explicit
Could you put the docs up somewhere else, or stop redirecting to this site?
Fix missing space in error message.
Since I use bower for everything, I think it's a shame that doctestjs doesn't support bower. I haven't publish doctestjs to the bower registry but everything is ready to be...
At the bottom of http://doctestjs.org/ you say: > If you've used Python's doctest and found it annoying or not widely useful for doctest: doctest.js fixes all those problems: see this...
The HTML example starts with: ``` ``` The exclamation mark before DOCTYPE is missing which causes an invalid document.
I downloaded the current repository and viewed the examples in my browser (Firefox). While _examples-2.html_ seems to work fine, all tests of _examples.html_ seem to be broken: 1. Error: SyntaxError:...
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...
It seems like [QUnit Composite](https://github.com/jquery/qunit-composite) should be a reasonable container for multiple doctest tests, so long as we "act" like a QUnit test.
I hear qunit does this.
Why do ``` print(value) // => 42 ``` When you could just have ``` // value => 42 ```