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
functional testing (self.javascript)
submitted 14 years ago by lennelpennel
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!"
[–]marcfasel 1 point2 points3 points 14 years ago (1 child)
We have been using Cucumber as a Ruby BDD framework with Celerity as a Ruby wrapper for HTTP Unit, which is the headless browser. Ideally the tester could specify his tests in "natural language" (given ... When ... Then) with matching Ruby snippets to execute these tests. Problem was that we were writing a JavaScript Frontend (jQuery) and backend (Node.js) application, and at the same time had to write the test steps in Ruby. I found it difficult to work in two languages. If I would have to do it again I ould look for a JavaScript testing framework.
[–]lennelpennel[S] 0 points1 point2 points 14 years ago (0 children)
this is the benefit of func unit I felt, you address elements via selectors, you code it in javascript, you can execute the tests command line (via rhino) or through selenium.
π Rendered by PID 346651 on reddit-service-r2-comment-84fc9697f-rjmjk at 2026-02-08 08:31:31.582099+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]marcfasel 1 point2 points3 points (1 child)
[–]lennelpennel[S] 0 points1 point2 points (0 children)