Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a BDD framework for testing Javascript that uses Gherkin DSL?

I am very much a fan of BDD and Behat for PHP. Is there something equivalent for Javascript, ie, that uses the Gherkin DSL? Everything I've seen so far is more in line with RSpec, and I would like to approach JS testing more like Cucumber, if possible

like image 228
JoshuaDavid Avatar asked Mar 14 '11 06:03

JoshuaDavid


2 Answers

There is one being developed as i write - help out if you can http://groups.google.com/group/cukes/browse_thread/thread/56ba76eac2e9dab3

Edit and now its here!

The official Cucumber for javascript

like image 85
Johnno Nolan Avatar answered Oct 22 '22 08:10

Johnno Nolan


cucumber.js should be exactly what you're looking for. Not quite finished, but might be worth checking out.

like image 31
slipset Avatar answered Oct 22 '22 09:10

slipset