I don&#x2019;t know what that means...\n\nBDD is a test-driven-development methodology. \n\nWrite tests.\nWrite code to pass the tests.\nThat&#x2019;s it.\n\nRed, Green, Refactor.\n\nMake sure it fails first, if it doesn&#x2019;t how will you know if it&#x2019;s a good test? (Red Step)\n\nWrite only enough code to make it pass. (Green Step)\n\nLater, if you need more functionality, refactor, and make sure all of your old tests still pass.\n
Anybody heard of it?\n
Inspired by Screw.Unit and RSpec but with QUnit compatibility (so you can use it with QUnit&#x2019;s existing support for JsTestDriver and TestSwarm)\n\nMIT License\n\n
“BDD is a second-generation, outside-in, pull-based, multiple-stakeholder,multiple-scale, high-automation, agilemethodology. It describes a cycle ofinteractions with well-defined outputs,resulting in the delivery of working,tested software that matters.”
Behavioral API over QUnit by Michael Monteleonehttp://github.com/mmonteleone/pavlov
The Goal:The login form should progressively enhance a form by id. should hide a ﬁeld label when the ﬁeld has focus. should show a ﬁeld label when the ﬁeld is empty when the cursor leaves. should keep a ﬁeld label hidden when the ﬁeld is not empty when the cursor leaves. should validate that the email ﬁeld is valid when the cursor leaves. should submit the form when the user clicks the Join button. should submit to the action URL of the form with an AJAX POST. should hide the form if the user credentials are ok.