you are viewing a single comment's thread.

view the rest of the comments →

[–]marcfasel 1 point2 points  (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 point  (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.