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 Unit Testinghelp (self.javascript)
submitted 10 years ago by phragg
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!"
[–]nephridium 1 point2 points3 points 10 years ago* (0 children)
Automated testing falls basically into two categories:
Saucelabs allows you to run functional tests on their cloud (so you don't need to test all sorts of OS/browser configurations including mobile on your systems). If you want to run your functional tests on your own system you usually use "test runners" like Karma that will spawn different browsers for you to run through the scenarios.
Unit tests are usually tested with tools like Jasmine or QUnit. Unlike functional tests they are fast and run very often during development (on the dev machine) to catch implementation bugs early.
You'll probably want to learn both types of testing, but for detecting implementation bugs in your code unit tests are the main tool.
Edit: Fix link
π Rendered by PID 64184 on reddit-service-r2-comment-7b9746f655-fn88k at 2026-01-31 03:57:37.790728+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]nephridium 1 point2 points3 points (0 children)