News for hackers. Stuff that matters.
Re:What if cucumber and jQuery had a baby? by timmaah on Friday June 17, 2011 @02:53PM (#2666631)
I don't think this has anything to do with QA or testing. Just another way to write javascript inspired by the cucumber DSL.
Re:What if cucumber and jQuery had a baby? by 3am on Friday June 17, 2011 @04:16PM (#2666904)
Cucumber is a BDD tool. That stands for Behavior Drive Design, which is what the 'when X expect Y' format is. It's intrinsically a testing tool, where the user acceptance tests are described in a BDD format. It's a subset of TDD.
Re:What if cucumber and jQuery had a baby? by timmaah on Friday June 17, 2011 @04:20PM (#2666922)
You are correct in that cucumber is a testing tool...

What is in that repo on github "whenever.js" is not for testing and is not BDD for js or jquery. The author implemented a dsl like cucumber to allow creation of behavior in javascript.

Re:What if cucumber and jQuery had a baby? by 3am on Friday June 17, 2011 @04:34PM (#2666970)
Fair enough - I'll call it a failure of imagination for me, then. I saw a DSL that had a BDD syntax for javascript, and thought it was meant to be some form of testing tool. We all have our cognitive blinders :)