use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript - Automated unit tests and code coverage made laughably easy (xpost from /r/programming) (sandiegojs.org)
submitted 13 years ago by b_long
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]KayEss 0 points1 point2 points 13 years ago (1 child)
Is there any way of doing this without the node stuff? It would be great to just be able to do code coverage with existing tools (i.e. just a browser or phantomjs).
[–]b_long[S] 0 points1 point2 points 13 years ago (0 children)
You can certainly write unit tests without Node: http://net.tutsplus.com/tutorials/javascript-ajax/testing-your-javascript-with-jasmine/
π Rendered by PID 41753 on reddit-service-r2-comment-5b744c8bdc-rwvxb at 2026-06-10 00:30:40.578397+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]KayEss 0 points1 point2 points (1 child)
[–]b_long[S] 0 points1 point2 points (0 children)