Jasmine
Jasmine is a behavior-driven development (BDD) framework for testing JavaScript code
Qunit
QUnit is a JavaScript unit testing framework, used by the jQuery project to test its code and plugins, but capable of testing any generic JavaScript code (both on the client and on the server).
Others
Example |
---|
Jasmine is clearly more bdd focused than qunit although i could see doing bdd with qunit by describing the tests in a behavior-oriented way from question QUnit Vs. Jasmine and TDD Vs. BDD |
Performing this asynchronous testing is actually possible in qunit but is handled better in another javascript testing framework jasmine js from question Test Javascript Function's Blocking Behavior |