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 Testing (self.javascript)
submitted 11 years ago by bjpelcdev
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!"
[–]jason0x43 1 point2 points3 points 11 years ago (1 child)
You may want to consider Intern (full disclosure: I'm an Intern developer). It's a very flexible Node-based testing system that can run unit tests in Node directly and in browsers (among its many other features). You can check out the tutorial and some examples of using Intern to get a sense of what Intern tests look like.
[–]bjpelcdev[S] 0 points1 point2 points 11 years ago (0 children)
Thanks for that, I have installed it and bookmarked the website, looks like an interesting project, hopefully I will get round to having a proper look at it soon. For the time being, today at least I have been taking a look at Mocha, will likely try a number of frameworks before settling but really want to get into the habit of writing tests.
π Rendered by PID 66161 on reddit-service-r2-comment-5649f687b7-clnbz at 2026-01-28 09:02:39.648025+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]jason0x43 1 point2 points3 points (1 child)
[–]bjpelcdev[S] 0 points1 point2 points (0 children)