News for hackers. Stuff that matters.
Re:What if cucumber and jQuery had a baby? by kragen on Friday June 17, 2011 @02:58PM (#2666649)
I don't know, it could be cool as a way to put the scripting of the user interface into a language that less technical people could understand and experiment with. Hopefully you aren't writing thousands of pages of this stuff (instead you should find a way to put together abstractions that reduce the amount of code that has to be written at this level) but it would be great to have a lot of the scripting of a UI be 10 or 30 or 100 pages of stuff that reads just like English.

That's my thought, anyway.

Re:What if cucumber and jQuery had a baby? by 3am on Friday June 17, 2011 @04:19PM (#2666914)
No, I agree completely.

My gripe is that the DSL is JS with a fluent interface. You need a DOM context in order to make JS work (unless I'm mistaken) which is why you have tests that drive the browser like Selenium. So you are going to write Javascript in order to drive some other tool that interacts with the AUT.

Anyway, it's neat, and I'm not trying to discourage anyone.