Need advice about which tool to choose?Ask the StackShare community!


+ 1

+ 1
Add tool

Jasmine vs QUnit: What are the differences?

Developers describe Jasmine as "DOM-less simple JavaScript testing framework". Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run. On the other hand, QUnit is detailed as "A JavaScript Unit Testing framework". QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!.

Jasmine and QUnit can be categorized as "Javascript Testing Framework" tools.

"Can also be used for tdd " is the top reason why over 58 developers like Jasmine, while over 4 developers mention "Simple" as the leading cause for choosing QUnit.

Jasmine and QUnit are both open source tools. Jasmine with 14.4K GitHub stars and 2.12K forks on GitHub appears to be more popular than QUnit with 3.82K GitHub stars and 762 GitHub forks.

According to the StackShare community, Jasmine has a broader approval, being mentioned in 143 company stacks & 75 developers stacks; compared to QUnit, which is listed in 11 company stacks and 6 developer stacks.

Decisions about Jasmine and QUnit

We use Mocha for our FDA verification testing. It's integrated into Meteor, our upstream web application framework. We like how battle tested it is, its' syntax, its' options of reporters, and countless other features. Most everybody can agree on mocha, and that gets us half-way through our FDA verification and validation (V&V) testing strategy.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More