On the server side we have Rspec/Cucumber for BDD development (ruby) vowsjs (node.js)
Is there a BDD frameworks to use on web browsers (not qUnit or YUI test since these are only for TDD)?
Check out jasmine
describe("Jasmine", function() {
it("makes testing JavaScript awesome!", function() {
expect(yourCode).toBeLotsBetter();
});
});
http://pivotal.github.com/jasmine/
https://github.com/pivotal/jasmine
Should_be ( sic ) very familiar to a ruby person
You could also look at Yadda. Rather than being a standalone test framework like CucumberJS, it enables to use a Gherkin like syntax from other frameworks like Mocha, Jasmine, CasperJS, Zombie, Qunit etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With